public enum EventTypeToProcess extends java.lang.Enum<EventTypeToProcess>
Enum Constant and Description |
---|
FIRE_AND_INJURY_EVENT |
FIRE_EVENT |
INJURY_EVENT |
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
humanReadable |
Modifier and Type | Method and Description |
---|---|
static EventTypeToProcess |
fromName(java.lang.String name)
Create an EventTypeToProcess from a string name.
|
java.lang.String |
toString()
Get the human-readable string name for this EventTypeToProcess.
|
static EventTypeToProcess |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static EventTypeToProcess[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EventTypeToProcess FIRE_EVENT
public static final EventTypeToProcess INJURY_EVENT
public static final EventTypeToProcess FIRE_AND_INJURY_EVENT
public static EventTypeToProcess[] values()
for (EventTypeToProcess c : EventTypeToProcess.values()) System.out.println(c);
public static EventTypeToProcess 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 nullpublic java.lang.String toString()
toString
in class java.lang.Enum<EventTypeToProcess>
public static EventTypeToProcess fromName(java.lang.String name)
name
-