public enum EventPriority extends Enum<EventPriority>
列挙型定数と説明 |
---|
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 nor unimportant, and may be ran
normally
|
修飾子とタイプ | メソッドと説明 |
---|---|
int |
getSlot() |
static EventPriority |
valueOf(String name)
指定した名前を持つこの型の列挙型定数を返します。
|
static EventPriority[] |
values()
この列挙型の定数を含む配列を宣言されている順序で返します。
|
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
No modifications to the event should be made under this priority
public static EventPriority[] values()
for(EventPriority c: EventPriority.values()) System.out.println(c);
public static EventPriority valueOf(String name)
name
- 返される列挙型定数の名前。IllegalArgumentException
- この列挙型に、指定した名前の定数がない場合NullPointerException
- 引数がnullの場合public int getSlot()
Copyright © 2016. All rights reserved.