|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<PluginListener.Priority>
PluginListener.Priority
public static enum PluginListener.Priority extends java.lang.Enum<PluginListener.Priority>
Priority - Used for priority for plugin listeners
Enum Constant and Description |
---|
CRITICAL
Highly critical for hooks that absolutely must occur before any others. |
HIGH
May block/interrupt/undo the action, but prefer MEDIUM |
LOW
Must not block/interrupt/undo the action |
MEDIUM
Preferred priority for blocking/interrupting/undoing the action |
Modifier and Type | Method and Description |
---|---|
static PluginListener.Priority |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static PluginListener.Priority[] |
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 |
---|
public static final PluginListener.Priority CRITICAL
public static final PluginListener.Priority HIGH
public static final PluginListener.Priority MEDIUM
public static final PluginListener.Priority LOW
Method Detail |
---|
public static PluginListener.Priority[] values()
for (PluginListener.Priority c : PluginListener.Priority.values()) System.out.println(c);
public static PluginListener.Priority valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified namejava.lang.NullPointerException
- if the argument is null
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |