public class BuildNumberFeatureFlagActivator extends Object implements FeatureFlagActivator
Modifier and Type | Field and Description |
---|---|
static com.google.common.collect.ImmutableMap<FeatureFlag,Integer> |
BUILD_NUMBER_ACTIVATED_FEATURE_FLAGS
Map of feature flags with corresponding build number starting from which given flag should be activated.
|
Constructor and Description |
---|
BuildNumberFeatureFlagActivator(BuildUtilsInfo buildUtilsInfo) |
Modifier and Type | Method and Description |
---|---|
Set<FeatureFlag> |
getActivatedFlags()
Return a set of feature flags that should be considered as activated (ie.
|
public static final com.google.common.collect.ImmutableMap<FeatureFlag,Integer> BUILD_NUMBER_ACTIVATED_FEATURE_FLAGS
public BuildNumberFeatureFlagActivator(BuildUtilsInfo buildUtilsInfo)
@Nonnull public Set<FeatureFlag> getActivatedFlags()
FeatureFlagActivator
NB: The FeatureFlag
returned from this method must return false from FeatureFlag.isOnByDefault()
and therefore be off by default, to be considered valid.
getActivatedFlags
in interface FeatureFlagActivator
Copyright © 2002-2024 Atlassian. All Rights Reserved.