public static enum Job.Action extends java.lang.Enum<Job.Action>
Job.State
transitions.Enum Constant and Description |
---|
CLOSE
Close the job.
|
INITIALIZE
Initialize the job
|
PAUSE
Pause the execution.
|
RESUME
Resume the execution
|
START
Start the execution.
|
Modifier and Type | Method and Description |
---|---|
static Job.Action |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Job.Action[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Job.Action INITIALIZE
public static final Job.Action START
public static final Job.Action PAUSE
public static final Job.Action RESUME
public static final Job.Action CLOSE
public static Job.Action[] values()
for (Job.Action c : Job.Action.values()) System.out.println(c);
public static Job.Action 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 nullCopyright © 2016 The Apache Software Foundation. All Rights Reserved - bbe71fa-20161201-1641