Class DefaultSwitchService
java.lang.Object
de.hybris.platform.ruleengineservices.configuration.impl.DefaultSwitchService
- All Implemented Interfaces:
SwitchService
- Direct Known Subclasses:
PromotionEngineTestSupportSwitchService
Default implementation of
SwitchService-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected ConfigurationServicebooleanIdentifies whether provided switchable option is enabledprotected voidvoidsetConfigurationService(ConfigurationService configurationService)
-
Constructor Details
-
DefaultSwitchService
public DefaultSwitchService()
-
-
Method Details
-
isEnabled
Description copied from interface:SwitchServiceIdentifies whether provided switchable option is enabled- Specified by:
isEnabledin interfaceSwitchService- Parameters:
switchOption- one of theSwitchvalues- Returns:
trueif option is enabled,false- otherwise
-
populateSwitchStatuses
@PostConstruct protected void populateSwitchStatuses() -
getStatuses
-
getConfigurationService
-
setConfigurationService
-