Package com.atlassian.jira.config
Class FeatureEvent
java.lang.Object
com.atlassian.jira.config.FeatureEvent
- Direct Known Subclasses:
FeatureDisabledEvent
,FeatureEnabledEvent
Dark feature info.
- Since:
- v5.1
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
FeatureEvent
(String feature) Creates a new feature info.protected
FeatureEvent
(String feature, ApplicationUser user) Deprecated. -
Method Summary
-
Constructor Details
-
FeatureEvent
Creates a new feature info.- Parameters:
feature
- a String containing a feature name
-
FeatureEvent
Deprecated.Creates a new feature info for a per-user feature.- Parameters:
feature
- a String containing a feature nameuser
- a User (may be null)
-
-
Method Details
-
feature
- Returns:
- a string containing the name of the dark feature.
-
username
- Returns:
- the name of the user for whom the dark feature was enabled. Null if it's a site-wide dark feature.
-
FeatureEvent(String, com.atlassian.jira.user.ApplicationUser)
since 6.0