Interface FeatureFlagActivator

All Known Implementing Classes:
BuildNumberFeatureFlagActivator, CustomfieldsCleanupActivator

@ExperimentalSpi public interface FeatureFlagActivator
This interface defines a way to activate feature flags using external logic, not related to feature flag itself.

For example you could use the JIRA build number to evaluate if flag should be activated.

Since:
v7.6
  • Method Summary

    Modifier and Type
    Method
    Description
    Return a set of feature flags that should be considered as activated (ie.
  • Method Details

    • getActivatedFlags

      @Nonnull Set<FeatureFlag> getActivatedFlags()
      Return a set of feature flags that should be considered as activated (ie. enabled).

      NB: The FeatureFlag returned from this method must return false from FeatureFlag.isOnByDefault() and therefore be off by default, to be considered valid.