public static enum Scheduler.State extends java.lang.Enum<Scheduler.State>
Enum Constant and Description |
---|
IDLE
The scheduler is paused
|
PENDING_STOP
The scheduler is expected to stop at the end at the current cycle
|
RUNNING
The scheduler is running
|
Modifier and Type | Method and Description |
---|---|
static Scheduler.State |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Scheduler.State[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Scheduler.State RUNNING
public static final Scheduler.State IDLE
public static final Scheduler.State PENDING_STOP
public static Scheduler.State[] values()
for (Scheduler.State c : Scheduler.State.values()) System.out.println(c);
public static Scheduler.State 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