Package net.officefloor.woof
Class WoofLoaderSettings.WoofLoaderConfiguration
java.lang.Object
net.officefloor.woof.WoofLoaderSettings.WoofLoaderConfiguration
- Enclosing class:
- WoofLoaderSettings
Configuration for the
WoofLoader.-
Method Summary
Modifier and TypeMethodDescriptionString[]getAdditionalProfiles(SourceContext context) Obtains the additional profiles.Contextually addedWoofExtensionServiceinstances.Obtains theConfigurationItemto the objects configuration file.getOverrideProperties(SourceContext sourceContext, ConfigurationContext configurationContext) Obtains the overrideProperties.Obtains theConfigurationItemto the resources configuration file.Obtains theConfigurationItemto the teams configuration file.getWoofConfiguration(ConfigurationContext context) Obtains theConfigurationItemto the WooF configuration file.booleanDetermines if the WoOF configuration available.booleanIndicates if contextual load.booleanisLoad()Indicates if load anything.booleanIndicates to load the additional profiles.booleanIndicates to load theHttpServer.booleanIndicates to load theWoofObjectsModelconfiguration.booleanIndicates to load the overridePropertiesconfiguration.booleanIndicates to load theWoofResourcesModelconfiguration.booleanIndicates to load theWoofTeamsModelconfiguration.booleanIndicates to loadWoofModelconfiguration.booleanIndicates to load theWoofExtensionServiceinstances.booleanisWoofApplication(ConfigurationContext context) Determines if a WoOF application.
-
Method Details
-
getWoofConfiguration
Obtains theConfigurationItemto the WooF configuration file.- Parameters:
context-ConfigurationContext.- Returns:
ConfigurationItemto the application WooF configuration file. May benullif not found.
-
getObjectsConfiguration
Obtains theConfigurationItemto the objects configuration file.- Parameters:
context-ConfigurationContext.- Returns:
ConfigurationItemto the objects configuration file. May benullif not found.
-
getTeamsConfiguration
Obtains theConfigurationItemto the teams configuration file.- Parameters:
context-ConfigurationContext.- Returns:
ConfigurationItemto the teams configuration file. May benullif not found.
-
getResourcesConfiguration
Obtains theConfigurationItemto the resources configuration file.- Parameters:
context-ConfigurationContext.- Returns:
ConfigurationItemto the resources configuration file.
-
getAdditionalProfiles
Obtains the additional profiles.- Parameters:
context-SourceContext.- Returns:
- Additional profiles.
-
getOverrideProperties
public Properties getOverrideProperties(SourceContext sourceContext, ConfigurationContext configurationContext) Obtains the overrideProperties.- Parameters:
sourceContext-SourceContext.configurationContext-ConfigurationContext.- Returns:
- Override
Properties.
-
isContextualLoad
public boolean isContextualLoad()Indicates if contextual load.- Returns:
trueif contextual load.
-
isLoad
public boolean isLoad()Indicates if load anything.- Returns:
trueto load.
-
isLoadHttpServer
public boolean isLoadHttpServer()Indicates to load theHttpServer.- Returns:
trueto load.
-
isLoadWoof
public boolean isLoadWoof()Indicates to loadWoofModelconfiguration.- Returns:
trueto load.
-
isLoadObjects
public boolean isLoadObjects()Indicates to load theWoofObjectsModelconfiguration.- Returns:
trueto load.
-
isLoadTeams
public boolean isLoadTeams()Indicates to load theWoofTeamsModelconfiguration.- Returns:
trueto load.
-
isLoadResources
public boolean isLoadResources()Indicates to load theWoofResourcesModelconfiguration.- Returns:
trueto load.
-
isLoadAdditionalProfiles
public boolean isLoadAdditionalProfiles()Indicates to load the additional profiles.- Returns:
trueto load.
-
isLoadOverrideProperties
public boolean isLoadOverrideProperties()Indicates to load the overridePropertiesconfiguration.- Returns:
trueto load.
-
isLoadWoofExtensions
public boolean isLoadWoofExtensions()Indicates to load theWoofExtensionServiceinstances.- Returns:
trueto load.
-
getContextualWoofExtensionServices
Contextually addedWoofExtensionServiceinstances.- Returns:
trueto load.
-
isWoofApplication
Determines if a WoOF application.- Parameters:
context-ConfigurationContext.- Returns:
trueif a WoOF application.- Throws:
IOException- If fails to check if WoOF application.
-
isApplicationWoofAvailable
Determines if the WoOF configuration available.- Parameters:
context-ConfigurationContext.- Returns:
trueif WoOF configuration available.- Throws:
IOException- If fails to check if WoOF application available.
-