Package org.togglz.core.metadata.enums
Class AnnotationFeatureGroup
- java.lang.Object
-
- org.togglz.core.metadata.enums.AnnotationFeatureGroup
-
- All Implemented Interfaces:
FeatureGroup
public class AnnotationFeatureGroup extends Object implements FeatureGroup
An implementation ofFeatureGroupthat based on annotations.- Author:
- Christian Kaltepoth
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static FeatureGroupbuild(Class<? extends Annotation> groupAnnotation)booleancontains(Feature feature)StringgetLabel()
-
-
-
Method Detail
-
build
public static FeatureGroup build(Class<? extends Annotation> groupAnnotation)
-
getLabel
public String getLabel()
- Specified by:
getLabelin interfaceFeatureGroup
-
contains
public boolean contains(Feature feature)
- Specified by:
containsin interfaceFeatureGroup
-
-