public class BootstrapInstanceFeatureManager extends Object implements InstanceFeatureManager
| Constructor and Description |
|---|
BootstrapInstanceFeatureManager() |
| Modifier and Type | Method and Description |
|---|---|
Set<String> |
getEnabledFeatureKeys()
Returns a set containing the feature keys of all features that are currently enabled.
|
boolean |
isInstanceFeatureEnabled(String featureKey)
Checks whether feature
featureKey is enabled in the this JIRA instance. |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitisOnDemandpublic boolean isInstanceFeatureEnabled(@Nonnull String featureKey)
InstanceFeatureManagerfeatureKey is enabled in the this JIRA instance. It only checks global instance
features that are not tenant specific (features defined in system properties, property files, installed plugins
etc.)
This method can be called without request context safely (i.e. during plugin initialisation).
If the featureKey relates to a feature flag that is defined, then it will also take the
default values into consideration.isInstanceFeatureEnabled in interface InstanceFeatureManagerfeatureKey - feature keytrue, if feature identified by featureKey is enabled, false otherwisepublic Set<String> getEnabledFeatureKeys()
InstanceFeatureManagergetEnabledFeatureKeys in interface InstanceFeatureManagerCopyright © 2002-2019 Atlassian. All Rights Reserved.