Package org.togglz.core.metadata
Interface FeatureMetaData
- All Known Implementing Classes:
EmptyFeatureMetaData
,EnumFeatureMetaData
,PropertyFeatureMetaData
public interface FeatureMetaData
Metadata of a
Feature
.- Author:
- Christian Kaltepoth
-
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.
-
Method Details
-
getLabel
String getLabel()Returns a human readable name of the feature. -
getDefaultFeatureState
FeatureState getDefaultFeatureState()Default feature state, if it is not stored in aStateRepository
. -
getGroups
Set<FeatureGroup> getGroups()The feature groups to which the feature belongs. -
getAttributes
A map of custom feature attributes describing the feature
-