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