Interface WoofLoaderSettings.WoofLoaderConfigurerContext
-
- All Known Subinterfaces:
WoofLoaderSettings.WoofLoaderRunnableContext
- Enclosing class:
- WoofLoaderSettings
public static interface WoofLoaderSettings.WoofLoaderConfigurerContext
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidaddOverrideProperty(java.lang.String name, java.lang.String value)Adds an overrideProperty.voidaddProfile(java.lang.String profile)Adds a profile.voidextend(WoofExtensionService extension)AddsWoofExtensionService.voidnotLoad()Flags to not load any configuration.voidnotLoadAdditionalProfiles()Flags not to load the additional profiles.voidnotLoadExternal()Avoid loading external configuration.voidnotLoadHttpServer()Flags to not load theHttpServer.voidnotLoadObjects()Flags not to load theWoofObjectsModelconfiguration.voidnotLoadOverrideProperties()Flags not to load the overridePropertiesconfiguration.voidnotLoadResources()Flags not to load theWoofResourcesModelconfiguration.voidnotLoadTeams()Flags not to load theWoofTeamsModelconfiguration.voidnotLoadWoof()Flags not to load theWoofModelconfiguration.voidnotLoadWoofExtensions()Flags not to load theWoofExtensionServiceinstances.voidsetObjectsPath(java.lang.String path)Specifies the resource path to the objects configuration file.voidsetPropertiesPath(java.lang.String path)Specifies the resource path to thePropertiesconfiguration file.voidsetResourcesPath(java.lang.String path)Specifies the resource path to the resources configuration file.voidsetTeamsPath(java.lang.String path)Specifies the resource path to the teams configuration file.voidsetWoofPath(java.lang.String path)Specifies the resource path to the WoOF configuration file.
-
-
-
Method Detail
-
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
void addProfile(java.lang.String profile)
Adds a profile.- Parameters:
profile- Profile.
-
addOverrideProperty
void addOverrideProperty(java.lang.String name, java.lang.String value)Adds an overrideProperty.
-
extend
void extend(WoofExtensionService extension)
AddsWoofExtensionService.- Parameters:
extension-WoofExtensionService.
-
setWoofPath
void setWoofPath(java.lang.String path)
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
void setObjectsPath(java.lang.String path)
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
void setTeamsPath(java.lang.String path)
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
void setResourcesPath(java.lang.String path)
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
void setPropertiesPath(java.lang.String path)
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.
-
-