Class FeatureEnabledEvent

java.lang.Object
com.atlassian.jira.config.FeatureEvent
com.atlassian.jira.config.FeatureEnabledEvent

@PublicApi @Immutable public class FeatureEnabledEvent extends FeatureEvent
Event raised when a feature is enabled.
Since:
v5.1
  • Constructor Details

    • FeatureEnabledEvent

      public FeatureEnabledEvent(@Nonnull String feature)
      Creates a new "feature enabled" event for a site-wide feature.
      Parameters:
      feature - a String containing a feature name
    • FeatureEnabledEvent

      public FeatureEnabledEvent(@Nonnull String feature, @Nullable ApplicationUser user)
      Creates a new "feature enabled" event for a per-user feature.
      Parameters:
      feature - a String containing a feature name
      user - a ApplicationUser (may be null)