public static enum ObjectiveEvent.Type extends Enum<ObjectiveEvent.Type>
Enum Constant and Description |
---|
ADD
Signifies that the objective has been added to the store.
|
REMOVE
Signifies that the objective has been removed.
|
Modifier and Type | Method and Description |
---|---|
static ObjectiveEvent.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ObjectiveEvent.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ObjectiveEvent.Type ADD
public static final ObjectiveEvent.Type REMOVE
public static ObjectiveEvent.Type[] values()
for (ObjectiveEvent.Type c : ObjectiveEvent.Type.values()) System.out.println(c);
public static ObjectiveEvent.Type 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 null