Class PropertyFeatureMetaData
- java.lang.Object
-
- org.togglz.core.metadata.property.PropertyFeatureMetaData
-
- All Implemented Interfaces:
FeatureMetaData
public class PropertyFeatureMetaData extends Object implements FeatureMetaData
Feature Metadata.
-
-
Constructor Summary
Constructors Constructor Description PropertyFeatureMetaData(Feature feature, String specification)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,String>getAttributes()A map of custom feature attributes describing the featureFeatureStategetDefaultFeatureState()Default feature state, if it is not stored in aStateRepository.Set<FeatureGroup>getGroups()The feature groups to which the feature belongs.StringgetLabel()Returns a human readable name of the feature.
-
-
-
Method Detail
-
getLabel
public String getLabel()
Description copied from interface:FeatureMetaDataReturns a human readable name of the feature.- Specified by:
getLabelin interfaceFeatureMetaData
-
getDefaultFeatureState
public FeatureState getDefaultFeatureState()
Description copied from interface:FeatureMetaDataDefault feature state, if it is not stored in aStateRepository.- Specified by:
getDefaultFeatureStatein interfaceFeatureMetaData
-
getGroups
public Set<FeatureGroup> getGroups()
Description copied from interface:FeatureMetaDataThe feature groups to which the feature belongs.- Specified by:
getGroupsin interfaceFeatureMetaData
-
getAttributes
public Map<String,String> getAttributes()
Description copied from interface:FeatureMetaDataA map of custom feature attributes describing the feature- Specified by:
getAttributesin interfaceFeatureMetaData
-
-