Class FeatureMap

  • All Implemented Interfaces:
    Map<Object,​Boolean>

    public class FeatureMap
    extends Object
    implements Map<Object,​Boolean>

    This map can be used to check whether features are active. You can use either a Feature or a feature name as the key for a map lookup. The resulting boolean will indicate if the feature is active or not.

    The map allows constructor-based injection of the FeatureManager for use in DI containers.

    Author:
    Mauro Talevi, Christian Kaltepoth