|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<EventPriority>
org.bukkit.event.EventPriority
public enum EventPriority
Represents an event's priority in execution
| Enum Constant Summary | |
|---|---|
HIGH
Event call is of high importance |
|
HIGHEST
Event call is critical and must have the final say in what happens to the event |
|
LOW
Event call is of low importance |
|
LOWEST
Event call is of very low importance and should be ran first, to allow other plugins to further customise the outcome |
|
MONITOR
Event is listened to purely for monitoring the outcome of an event. |
|
NORMAL
Event call is neither important or unimportant, and may be ran normally |
|
| Method Summary | |
|---|---|
int |
getSlot()
|
static EventPriority |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static EventPriority[] |
values()
Returns an array containing the constants of this enum type, in the order they're declared. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final EventPriority LOWEST
public static final EventPriority LOW
public static final EventPriority NORMAL
public static final EventPriority HIGH
public static final EventPriority HIGHEST
public static final EventPriority MONITOR
| Method Detail |
|---|
public static final EventPriority[] values()
for(EventPriority c : EventPriority.values())
System.out.println(c);
public static EventPriority valueOf(String name)
name - the name of the enum constant to be returned.
IllegalArgumentException - if this enum type has no constant
with the specified namepublic int getSlot()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||