com.atlassian.jira.config
Class FeatureEnabledEvent

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

@PublicApi
@Immutable
public class FeatureEnabledEvent
extends FeatureEvent

Event raised when a feature is enabled.

Since:
v5.1

Constructor Summary
FeatureEnabledEvent(String feature)
          Creates a new "feature enabled" event for a site-wide feature.
FeatureEnabledEvent(String feature, ApplicationUser user)
          Creates a new "feature enabled" event for a per-user feature.
FeatureEnabledEvent(String feature, com.atlassian.crowd.embedded.api.User user)
          Creates a new "feature enabled" event for a per-user feature.
 
Method Summary
 
Methods inherited from class com.atlassian.jira.config.FeatureEvent
feature, username
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

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
                           com.atlassian.crowd.embedded.api.User user)
Creates a new "feature enabled" event for a per-user feature.

Parameters:
feature - a String containing a feature name
user - a User (may be null)

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)


Copyright © 2002-2014 Atlassian. All Rights Reserved.