| Enum Constant and Description |
|---|
BOOT
Execute an instance during boot.
|
RESPAWN
Spawn whenever the instance finished.
|
SHUTDOWN
Execute an instance on shutdown.
|
| Modifier and Type | Method and Description |
|---|---|
static InitType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static InitType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final InitType BOOT
public static final InitType SHUTDOWN
public static final InitType RESPAWN
public static InitType[] values()
for (InitType c : InitType.values()) System.out.println(c);
public static InitType 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