Interface ExoFeatureService
-
public interface ExoFeatureService
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidaddFeaturePlugin(FeaturePlugin featurePlugin)Add a feature plugin that will manage feature enablement that will be applied only on one feature identified by its namebooleanisActiveFeature(String featureName)Check the status of a featurebooleanisFeatureActiveForUser(String featureName, String username)Determines whether the feature is active for a user or notvoidsaveActiveFeature(String featureName, boolean isActive)Switch feature featureName on or off
-
-
-
Method Detail
-
isActiveFeature
boolean isActiveFeature(String featureName)
Check the status of a feature- Parameters:
featureName-- Returns:
- true if the featureName is on, false if it's off
-
saveActiveFeature
void saveActiveFeature(String featureName, boolean isActive)
Switch feature featureName on or off- Parameters:
featureName-isActive- new status of feature, true = on and false = off
-
addFeaturePlugin
void addFeaturePlugin(FeaturePlugin featurePlugin)
Add a feature plugin that will manage feature enablement that will be applied only on one feature identified by its name- Parameters:
featurePlugin- of typeFeaturePlugin
-
-