org.zeroexchange.feature
Class AbstractFeature
java.lang.Object
org.zeroexchange.feature.AbstractFeature
- All Implemented Interfaces:
- Feature
- Direct Known Subclasses:
- CollaborationFeature, ReputationFeatureImpl, UserRegistrationFeature
public abstract class AbstractFeature
- extends Object
- implements Feature
Base class for the features implementations.
- Author:
- black
Methods inherited from interface org.zeroexchange.feature.Feature |
getName |
AbstractFeature
public AbstractFeature()
getRequiredFeatureNames
public Collection<String> getRequiredFeatureNames()
- Returns names of the required features.
Note: Dummy implementation. Override in subclasses if needed.
- Specified by:
getRequiredFeatureNames
in interface Feature
setEnabled
public void setEnabled(boolean enabled)
isEnabled
public boolean isEnabled()
- Description copied from interface:
Feature
- Returns true if the feature is enabled.
- Specified by:
isEnabled
in interface Feature
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2013. All Rights Reserved.