Class FeaturePlugin
- java.lang.Object
-
- org.exoplatform.container.component.BaseComponentPlugin
-
- org.exoplatform.commons.api.settings.FeaturePlugin
-
- All Implemented Interfaces:
org.exoplatform.container.component.ComponentPlugin
public abstract class FeaturePlugin extends org.exoplatform.container.component.BaseComponentPluginExoFeatureServiceplugin that allows to manage enablement of feature by plugin instead of managing it in Service so that each addon can manage the feature enablement by user
-
-
Constructor Summary
Constructors Constructor Description FeaturePlugin()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description StringgetFeatureName()abstract booleanisFeatureActiveForUser(String featureName, String username)Determines whether the fefature is enabled for a user
-
-
-
Method Detail
-
getFeatureName
public String getFeatureName()
- Returns:
- feature name
-
-