Package org.togglz.core.util
Class NamedFeature
- java.lang.Object
-
- org.togglz.core.util.NamedFeature
-
- All Implemented Interfaces:
Serializable,Feature
public class NamedFeature extends Object implements Feature, Serializable
This class can be used if just the name of a feature is known but not the enum type. It doesn't try to lazily resolve the type when callingname().- Author:
- Christian Kaltepoth
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description NamedFeature(String name)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)inthashCode()Stringname()Returns a textual representation of the feature.
-