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 void
addOverrideProperty(java.lang.String name, java.lang.String value)
Adds an overrideProperty
.void
addProfile(java.lang.String profile)
Adds a profile.void
extend(WoofExtensionService extension)
AddsWoofExtensionService
.void
notLoad()
Flags to not load any configuration.void
notLoadAdditionalProfiles()
Flags not to load the additional profiles.void
notLoadExternal()
Avoid loading external configuration.void
notLoadHttpServer()
Flags to not load theHttpServer
.void
notLoadObjects()
Flags not to load theWoofObjectsModel
configuration.void
notLoadOverrideProperties()
Flags not to load the overrideProperties
configuration.void
notLoadResources()
Flags not to load theWoofResourcesModel
configuration.void
notLoadTeams()
Flags not to load theWoofTeamsModel
configuration.void
notLoadWoof()
Flags not to load theWoofModel
configuration.void
notLoadWoofExtensions()
Flags not to load theWoofExtensionService
instances.void
setObjectsPath(java.lang.String path)
Specifies the resource path to the objects configuration file.void
setPropertiesPath(java.lang.String path)
Specifies the resource path to theProperties
configuration file.void
setResourcesPath(java.lang.String path)
Specifies the resource path to the resources configuration file.void
setTeamsPath(java.lang.String path)
Specifies the resource path to the teams configuration file.void
setWoofPath(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 theWoofTeamsModel
configuration.
-
notLoadWoof
void notLoadWoof()
Flags not to load theWoofModel
configuration.
-
notLoadObjects
void notLoadObjects()
Flags not to load theWoofObjectsModel
configuration.
-
notLoadResources
void notLoadResources()
Flags not to load theWoofResourcesModel
configuration.
-
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 overrideProperties
configuration.
-
notLoadWoofExtensions
void notLoadWoofExtensions()
Flags not to load theWoofExtensionService
instances.
-
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
Properties
configuration file.This is useful for testing to specify different configuration files for different tests.
- Parameters:
path
- Resource path to to theProperties
configuration file.
-
-