|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<PluginLoader.HookResult>
PluginLoader.HookResult
public static enum PluginLoader.HookResult extends java.lang.Enum<PluginLoader.HookResult>
HookResult - Used where returning a boolean isn't enough.
Enum Constant and Description |
---|
ALLOW_ACTION
Allow the action |
DEFAULT_ACTION
Do whatever it would normally do, continue processing |
PREVENT_ACTION
Prevent the action |
Modifier and Type | Method and Description |
---|---|
static PluginLoader.HookResult |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static PluginLoader.HookResult[] |
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 PluginLoader.HookResult PREVENT_ACTION
public static final PluginLoader.HookResult ALLOW_ACTION
public static final PluginLoader.HookResult DEFAULT_ACTION
Method Detail |
---|
public static PluginLoader.HookResult[] values()
for (PluginLoader.HookResult c : PluginLoader.HookResult.values()) System.out.println(c);
public static PluginLoader.HookResult 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 |