Package org.bukkit.event
Enum EventPriority
- All Implemented Interfaces:
- Serializable,- Comparable<EventPriority>,- java.lang.constant.Constable
Represents an event's priority in execution
- 
Nested Class SummaryNested classes/interfaces inherited from class java.lang.EnumEnum.EnumDesc<E extends Enum<E>>
- 
Enum Constant SummaryEnum ConstantsEnum ConstantDescriptionEvent call is of high importanceEvent call is critical and must have the final say in what happens to the eventEvent call is of low importanceEvent call is of very low importance and should be ran first, to allow other plugins to further customise the outcomeEvent is listened to purely for monitoring the outcome of an event.Event call is neither important nor unimportant, and may be ran normally
- 
Method SummaryModifier and TypeMethodDescriptionintgetSlot()static EventPriorityReturns 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 are declared.
- 
Enum Constant Details- 
LOWESTEvent call is of very low importance and should be ran first, to allow other plugins to further customise the outcome
- 
LOWEvent call is of low importance
- 
NORMALEvent call is neither important nor unimportant, and may be ran normally
- 
HIGHEvent call is of high importance
- 
HIGHESTEvent call is critical and must have the final say in what happens to the event
- 
MONITOREvent is listened to purely for monitoring the outcome of an event.No modifications to the event should be made under this priority 
 
- 
- 
Method Details- 
valuesReturns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
 
- 
valueOfReturns 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
 
- 
getSlotpublic int getSlot()
 
-