public enum TimerState extends java.lang.Enum<TimerState> implements State
Enum Constant and Description |
---|
ACTIVE
Indicates that child jobs are active.
|
COMPLETE
The timer is complete and the child job is complete.
|
DESTROYED
The timer has been destroyed.
|
EXCEPTION
The timer failed to Start or the timer is complete but is reflecting
the child's exception state.
|
INCOMPLETE
The timer is complete but is reflecting that the child job is
incomplete.
|
STARTABLE
The timer can be started.
|
STARTED
The timer has started.
|
STARTING
The timer is starting.
|
Modifier and Type | Method and Description |
---|---|
static TimerState |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static TimerState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
isComplete, isDestroyed, isException, isExecuting, isIncomplete, isReady, isStoppable
public static final TimerState STARTABLE
public static final TimerState STARTING
public static final TimerState ACTIVE
public static final TimerState STARTED
public static final TimerState INCOMPLETE
public static final TimerState COMPLETE
public static final TimerState EXCEPTION
public static final TimerState DESTROYED
public static TimerState[] values()
for (TimerState c : TimerState.values()) System.out.println(c);
public static TimerState 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