public static enum BaseEventHook.EventCondition extends java.lang.Enum<BaseEventHook.EventCondition>
| Enum Constant and Description |
|---|
AUTHOR |
MAIN |
OFFLINEPLAYER |
PLAYER |
PLUGIN |
VERSION |
VERSION_IS_HIGHER |
VERSION_IS_LOWER |
| Modifier and Type | Method and Description |
|---|---|
static BaseEventHook.EventCondition |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static BaseEventHook.EventCondition[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BaseEventHook.EventCondition PLUGIN
public static final BaseEventHook.EventCondition VERSION
public static final BaseEventHook.EventCondition AUTHOR
public static final BaseEventHook.EventCondition OFFLINEPLAYER
public static final BaseEventHook.EventCondition PLAYER
public static final BaseEventHook.EventCondition MAIN
public static final BaseEventHook.EventCondition VERSION_IS_LOWER
public static final BaseEventHook.EventCondition VERSION_IS_HIGHER
public static BaseEventHook.EventCondition[] values()
for (BaseEventHook.EventCondition c : BaseEventHook.EventCondition.values()) System.out.println(c);
public static BaseEventHook.EventCondition 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