com.atlassian.jira.config
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 Summary |
FeatureEnabledEvent(String feature)
Creates a new "feature enabled" event for a site-wide feature. |
FeatureEnabledEvent(String feature,
com.atlassian.crowd.embedded.api.User user)
Creates a new "feature enabled" event for a per-user feature. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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 nameuser
- a User (may be null)
Copyright © 2002-2012 Atlassian. All Rights Reserved.