Interface WoofLoaderSettings.WoofLoaderConfigurerContext
- All Known Subinterfaces:
WoofLoaderSettings.WoofLoaderRunnableContext
- Enclosing class:
- WoofLoaderSettings
-
Method Summary
Modifier and TypeMethodDescriptionvoidaddOverrideProperty(String name, String value) Adds an overrideProperty.voidaddProfile(String profile) Adds a profile.voidextend(WoofExtensionService extension) AddsWoofExtensionService.voidnotLoad()Flags to not load any configuration.voidFlags not to load the additional profiles.voidAvoid loading external configuration.voidFlags to not load theHttpServer.voidFlags not to load theWoofObjectsModelconfiguration.voidFlags not to load the overridePropertiesconfiguration.voidFlags not to load theWoofResourcesModelconfiguration.voidFlags not to load theWoofTeamsModelconfiguration.voidFlags not to load theWoofModelconfiguration.voidFlags not to load theWoofExtensionServiceinstances.voidsetObjectsPath(String path) Specifies the resource path to the objects configuration file.voidsetPropertiesPath(String path) Specifies the resource path to thePropertiesconfiguration file.voidsetResourcesPath(String path) Specifies the resource path to the resources configuration file.voidsetTeamsPath(String path) Specifies the resource path to the teams configuration file.voidsetWoofPath(String path) Specifies the resource path to the WoOF configuration file.
-
Method Details
-
notLoad
void notLoad()Flags to not load any configuration. -
notLoadHttpServer
void notLoadHttpServer()Flags to not load theHttpServer. -
notLoadTeams
void notLoadTeams()Flags not to load theWoofTeamsModelconfiguration. -
notLoadWoof
void notLoadWoof()Flags not to load theWoofModelconfiguration. -
notLoadObjects
void notLoadObjects()Flags not to load theWoofObjectsModelconfiguration. -
notLoadResources
void notLoadResources()Flags not to load theWoofResourcesModelconfiguration. -
notLoadExternal
void notLoadExternal()Avoid loading external configuration. This is typically for testing to ensure external configurations do not cause false positive test failures. -
notLoadAdditionalProfiles
void notLoadAdditionalProfiles()Flags not to load the additional profiles. -
notLoadOverrideProperties
void notLoadOverrideProperties()Flags not to load the overridePropertiesconfiguration. -
notLoadWoofExtensions
void notLoadWoofExtensions()Flags not to load theWoofExtensionServiceinstances. -
addProfile
Adds a profile.- Parameters:
profile- Profile.
-
addOverrideProperty
Adds an overrideProperty. -
extend
AddsWoofExtensionService.- Parameters:
extension-WoofExtensionService.
-
setWoofPath
Specifies the resource path to the WoOF configuration file.
This is useful for testing to specify different configuration files for different tests.
- Parameters:
path- Resource path to to the WoOF configuration file.
-
setObjectsPath
Specifies the resource path to the objects configuration file.
This is useful for testing to specify different configuration files for different tests.
- Parameters:
path- Resource path to to the objects configuration file.
-
setTeamsPath
Specifies the resource path to the teams configuration file.
This is useful for testing to specify different configuration files for different tests.
- Parameters:
path- Resource path to to the teams configuration file.
-
setResourcesPath
Specifies the resource path to the resources configuration file.
This is useful for testing to specify different configuration files for different tests.
- Parameters:
path- Resource path to to the resources configuration file.
-
setPropertiesPath
Specifies the resource path to the
Propertiesconfiguration file.This is useful for testing to specify different configuration files for different tests.
- Parameters:
path- Resource path to to thePropertiesconfiguration file.
-