public static enum Event.EventStatus extends java.lang.Enum<Event.EventStatus>
When: QUEUED - The event is waiting to be queued onto the event executor. WORKING - The event is currently working and running its normal code. FINISHED - The event has finished its job successfully. FAILED - The event has failed to complete its job.
Enum Constant and Description |
---|
FAILED |
FINISHED |
QUEUED |
UNQUEUED |
WORKING |
Modifier and Type | Method and Description |
---|---|
static Event.EventStatus |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Event.EventStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Event.EventStatus UNQUEUED
public static final Event.EventStatus QUEUED
public static final Event.EventStatus WORKING
public static final Event.EventStatus FINISHED
public static final Event.EventStatus FAILED
public static Event.EventStatus[] values()
for (Event.EventStatus c : Event.EventStatus.values()) System.out.println(c);
public static Event.EventStatus 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