com.atlassian.jira.plugin.ha
Enum PluginEventType

java.lang.Object
  extended by java.lang.Enum<PluginEventType>
      extended by com.atlassian.jira.plugin.ha.PluginEventType
All Implemented Interfaces:
Serializable, Comparable<PluginEventType>

public enum PluginEventType
extends Enum<PluginEventType>

Represents a plugin operation that has been performed

Since:
v6.1

Enum Constant Summary
PLUGIN_DISABLED
           
PLUGIN_ENABLED
           
PLUGIN_INSTALLED
           
PLUGIN_MODULE_DISABLED
           
PLUGIN_MODULE_ENABLED
           
PLUGIN_UNINSTALLED
           
PLUGIN_UPGRADED
           
 
Method Summary
 List<PluginEventType> getExclusions()
           
 boolean hasExclusions()
           
static PluginEventType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static PluginEventType[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

PLUGIN_MODULE_ENABLED

public static final PluginEventType PLUGIN_MODULE_ENABLED

PLUGIN_MODULE_DISABLED

public static final PluginEventType PLUGIN_MODULE_DISABLED

PLUGIN_INSTALLED

public static final PluginEventType PLUGIN_INSTALLED

PLUGIN_DISABLED

public static final PluginEventType PLUGIN_DISABLED

PLUGIN_ENABLED

public static final PluginEventType PLUGIN_ENABLED

PLUGIN_UNINSTALLED

public static final PluginEventType PLUGIN_UNINSTALLED

PLUGIN_UPGRADED

public static final PluginEventType PLUGIN_UPGRADED
Method Detail

values

public static PluginEventType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (PluginEventType c : PluginEventType.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static PluginEventType valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null

hasExclusions

public boolean hasExclusions()

getExclusions

public List<PluginEventType> getExclusions()


Copyright © 2002-2014 Atlassian. All Rights Reserved.