com.atlassian.jira.config
Class FeatureDisabledEvent

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

@PublicApi
@Immutable
public class FeatureDisabledEvent
extends FeatureEvent

Event raised when a feature is enabled.

Since:
v5.1

Constructor Summary
FeatureDisabledEvent(String feature)
          Creates a new "feature enabled" event for a site-wide feature.
FeatureDisabledEvent(String feature, ApplicationUser user)
          Creates a new "feature enabled" event for a per-user feature.
FeatureDisabledEvent(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

FeatureDisabledEvent

public FeatureDisabledEvent(@Nonnull
                            String feature)
Creates a new "feature enabled" event for a site-wide feature.

Parameters:
feature - a String containing a feature name

FeatureDisabledEvent

public FeatureDisabledEvent(@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)

FeatureDisabledEvent

public FeatureDisabledEvent(@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.