Package org.togglz.core.metadata.enums
Class EnumFeatureMetaData
java.lang.Object
org.togglz.core.metadata.enums.EnumFeatureMetaData
- All Implemented Interfaces:
FeatureMetaData
Implementation of
FeatureMetaData that looks for annotations like Label, EnabledByDefault and
DefaultActivationStrategy on feature enums.- Author:
- Christian Kaltepoth
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionA map of custom feature attributes describing the featureDefault feature state, if it is not stored in aStateRepository.The feature groups to which the feature belongs.getLabel()Returns a human readable name of the feature.
-
Constructor Details
-
EnumFeatureMetaData
-
-
Method Details
-
getLabel
Description copied from interface:FeatureMetaDataReturns a human readable name of the feature.- Specified by:
getLabelin interfaceFeatureMetaData
-
getDefaultFeatureState
Description copied from interface:FeatureMetaDataDefault feature state, if it is not stored in aStateRepository.- Specified by:
getDefaultFeatureStatein interfaceFeatureMetaData
-
getGroups
Description copied from interface:FeatureMetaDataThe feature groups to which the feature belongs.- Specified by:
getGroupsin interfaceFeatureMetaData
-
getAttributes
Description copied from interface:FeatureMetaDataA map of custom feature attributes describing the feature- Specified by:
getAttributesin interfaceFeatureMetaData
-