| java.lang.Object | |
| ↳ | com.atlassian.jira.config.DefaultFeatureManager |
Default implementation of FeatureManager.
| Nested Classes | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| DefaultFeatureManager.FeaturesMapHolder | |||||||||||
| Constants | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| String | FEATURE_RESOURCE_TYPE | ||||||||||
|
[Expand]
Inherited Constants | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From interface
com.atlassian.jira.config.FeatureManager
| |||||||||||
| Fields | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| FEATURE_TYPE_FILTER | |||||||||||
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Disables a site-wide feature.
| |||||||||||
Disables a feature for a particular user.
| |||||||||||
Enables a site-wide feature.
| |||||||||||
Enables a feature for a particular User.
| |||||||||||
Creates
DarkFeatures instances from the PropertySet associated with the ThreadLocal user. | |||||||||||
Returns a set containing the feature keys of all features that are currently enabled.
| |||||||||||
Returns true if the currently logged in user has permission to edit site dark features.
| |||||||||||
Checks whether a feature with given featureKey is enabled in the running JIRA instance.
| |||||||||||
Checks whether a feature with given coreFeature is enabled in the running JIRA instance.
| |||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
From interface
com.atlassian.jira.config.FeatureManager
| |||||||||||
Disables a site-wide feature.
Since JIRA 5.1, this method raises a FeatureDisabledEvent if it is successful.
| feature | the feature to disable |
|---|
Disables a feature for a particular user.
Since JIRA 5.1, this method raises aFeatureDisabledEvent if it is successful.| user | the user to disable the feature for |
|---|---|
| feature | the feature to disable |
Enables a site-wide feature.
Since JIRA 5.1, this method raises aFeatureEnabledEvent if it is successful.| feature | the feature to enable |
|---|
Enables a feature for a particular User. Raises a FeatureEnabledEvent.
FeatureEnabledEvent if it is successful.| user | the user to enable the feature for |
|---|---|
| feature | the feature to enable |
Creates DarkFeatures instances from the PropertySet associated with the ThreadLocal user.
Returns a set containing the feature keys of all features that are currently enabled.
Returns true if the currently logged in user has permission to edit site dark features.
Checks whether a feature with given featureKey is enabled in the running JIRA instance.
| featureKey | feature key |
|---|
true, if feature identified by featureKey is enabled, false otherwise
Checks whether a feature with given coreFeature is enabled in the running JIRA instance.
| coreFeature | core feature instance |
|---|
true, if given core feature is enabled, false otherwise