Interface Feature
-
- All Known Implementing Classes:
IntegrationApiFeature
public interface FeatureRepresents a Feature for feature toggling. The intent of this interface is for enumerations to implement it. In a properties file, also define the property and set to true/false. Here's an example of a Feature implementation:public enum MyFeature implements Feature { MY_FEATURE("my.feature.enabled") private final String property; MyFeature(final String property) { this.property = property; } public String getProperty() { return property; } }In a property filemy.feature.enabled=true
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.StringgetProperty()Gets the property related to the feature enum
-