Interface Feature

All Known Implementing Classes:
AnalyticsAwareFeatureFlag, CoreFeatures, FeatureFlag

public interface Feature
A switchable feature identity, can be enabled or disabled with FeatureManager. Although CoreFeatures can control whether or not they are user-settable, other Features can not; they are always implicitly user-settable. Plugin developers are responsible for ensuring that any Feature they check can safely be enabled and disabled on a per-user basis.
Since:
v6.0
  • Method Summary

    Modifier and Type
    Method
    Description
    The feature key that can be used to enable, disable or query the status of a feature using the FeatureManager.
  • Method Details

    • featureKey

      String featureKey()
      The feature key that can be used to enable, disable or query the status of a feature using the FeatureManager.
      Returns:
      the unique key used to identify the feature.