Class PropertyFeatureProvider

java.lang.Object
org.togglz.core.manager.PropertyFeatureProvider
All Implemented Interfaces:
FeatureProvider

public class PropertyFeatureProvider extends Object implements FeatureProvider

Implementation of FeatureProvider that reads all the feature specification from a Properties instance. This provider is especially useful in distributed environments.

The feature specification has the following format:

 <feature>=<label>;<enabledByDefault>[;<group1>,<group2>,...]
 

The following example shows how a concrete specification could look like

 FEATURE_ONE=A useful feature;true;Group 1,Group 3
 FEATURE_TWO=Some other feature;false;Group 2
 
Author:
Mauro Talevi, Christian Kaltepoth