public static enum JobExecutor.State extends Enum<JobExecutor.State>
| Enum Constant and Description |
|---|
NEW
The JobExecutor has not started running.
|
RUNNING
The JobExecutor is currently running.
|
SHUTDOWN
The JobExecutor has shutdown.
|
| Modifier and Type | Method and Description |
|---|---|
static JobExecutor.State |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static JobExecutor.State[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final JobExecutor.State NEW
public static final JobExecutor.State RUNNING
public static final JobExecutor.State SHUTDOWN
public static JobExecutor.State[] values()
for (JobExecutor.State c : JobExecutor.State.values()) System.out.println(c);
public static JobExecutor.State valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant
with the specified nameNullPointerException - if the argument is nullCopyright © 2011-2013. All Rights Reserved.