public enum JobStatus extends java.lang.Enum<JobStatus>
| Enum Constant and Description |
|---|
STARTED
Job has been started.
|
STARTING
Job is in the process of starting but is not yet running.
|
STOPPED
Job has been stopped.
|
UNKNOWN
Job status is unknown.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
hasBeenStarted() |
java.lang.String |
toString() |
static JobStatus |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static JobStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final JobStatus STARTING
public static final JobStatus STARTED
public static final JobStatus STOPPED
public static final JobStatus UNKNOWN
public static JobStatus[] values()
for (JobStatus c : JobStatus.values()) System.out.println(c);
public static JobStatus 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 nullpublic java.lang.String toString()
toString in class java.lang.Enum<JobStatus>public boolean hasBeenStarted()