public static enum Generator.Event extends java.lang.Enum<Generator.Event>
Enum Constant and Description |
---|
GENERATION_DEADLINE |
START_FORGING |
STOP_FORGING |
Modifier and Type | Method and Description |
---|---|
static Generator.Event |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Generator.Event[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Generator.Event GENERATION_DEADLINE
public static final Generator.Event START_FORGING
public static final Generator.Event STOP_FORGING
public static Generator.Event[] values()
for (Generator.Event c : Generator.Event.values()) System.out.println(c);
public static Generator.Event 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