java.lang.Object | |
↳ | com.atlassian.jira.config.FeatureFlag |
A FeatureFlag is a simple declaration of a key and whether the flag is considered on or off by default.
The FeatureFlag is different from a Feature
because it can have a default value. Additionally,
feature flags can be declared via xml and shared across add-ons.
Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
String | POSTFIX_DISABLED | ||||||||||
String | POSTFIX_ENABLED |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Creates a new FeatureFlag that is defaulted to the specified value
| |||||||||||
Creates a new FeatureFlag with the specified key and off by default
| |||||||||||
The feature key that can be used to enable, disable or query the status of a feature using the
FeatureManager . | |||||||||||
Creates a new FeatureFlag that is off by default
| |||||||||||
Creates a new FeatureFlag that is on by default
| |||||||||||
[Expand]
Inherited Methods | |||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
From class java.lang.Object | |||||||||||||
From interface
com.atlassian.jira.config.Feature
|
Creates a new FeatureFlag that is defaulted to the specified value
POSTFIX_DISABLED
POSTFIX_ENABLED
Creates a new FeatureFlag with the specified key and off by default
featureKey | the key in play |
---|
The feature key that can be used to enable, disable or query the status of a feature using the
FeatureManager
.
Creates a new FeatureFlag that is off by default
Creates a new FeatureFlag that is on by default