Interface ExoFeatureService
public interface ExoFeatureService
-
Method Summary
Modifier and TypeMethodDescriptionvoidaddFeaturePlugin(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 Details
-
isActiveFeature
Check the status of a feature- Parameters:
featureName-- Returns:
- true if the featureName is on, false if it's off
-
saveActiveFeature
Switch feature featureName on or off- Parameters:
featureName-isActive- new status of feature, true = on and false = off
-
addFeaturePlugin
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
-
isFeatureActiveForUser
Determines whether the feature is active for a user or not- Parameters:
featureName-username-- Returns:
- true if active, else false
-