public static enum JobStatus.State extends Enum<JobStatus.State>
| Enum Constant and Description |
|---|
FINISHED
The job is done.
|
NONE
Default status, generally mean that the task has not been started yet.
|
RUNNING
The job is running.
|
WAITING
The job is waiting.
|
| Modifier and Type | Method and Description |
|---|---|
static JobStatus.State |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static JobStatus.State[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final JobStatus.State NONE
public static final JobStatus.State RUNNING
public static final JobStatus.State WAITING
public static final JobStatus.State FINISHED
public static JobStatus.State[] values()
for (JobStatus.State c : JobStatus.State.values()) System.out.println(c);
public static JobStatus.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 © 2004–2014 XWiki. All rights reserved.