public enum PluginLoadOrder extends Enum<PluginLoadOrder>
Enum Constant and Description |
---|
POSTWORLD
Indicates that the plugin will be loaded after the first/default world
was created
|
STARTUP
Indicates that the plugin will be loaded at startup
|
Modifier and Type | Method and Description |
---|---|
static PluginLoadOrder |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PluginLoadOrder[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PluginLoadOrder STARTUP
public static final PluginLoadOrder POSTWORLD
public static PluginLoadOrder[] values()
for (PluginLoadOrder c : PluginLoadOrder.values()) System.out.println(c);
public static PluginLoadOrder valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2015. All rights reserved.