public static enum Job.JobStatus extends Enum<Job.JobStatus>
Enum Constant and Description |
---|
ABORT |
COMPLETE |
ERROR |
IN_PROGRESS |
NOT_STARTED |
PAUSE |
Modifier and Type | Method and Description |
---|---|
static Job.JobStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Job.JobStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Job.JobStatus NOT_STARTED
public static final Job.JobStatus IN_PROGRESS
public static final Job.JobStatus ERROR
public static final Job.JobStatus PAUSE
public static final Job.JobStatus ABORT
public static final Job.JobStatus COMPLETE
public static Job.JobStatus[] values()
for (Job.JobStatus c : Job.JobStatus.values()) System.out.println(c);
public static Job.JobStatus 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 null