public enum JobState extends Enum<JobState>
| Enum Constant and Description |
|---|
CANCELLED
The job has been explicitly cancelled.
|
CANCELLING
Job is being cancelled
|
DONE
The job has successfully completed.
|
FAILED
The job has failed.
|
PENDING |
RUNNING
The job is currently running.
|
STOPPED
The job has been paused, or has not yet started.
|
UNKNOWN
The job state could not be obtained or was not specified.
|
UPDATED
The job has been updated.
|
| Modifier and Type | Method and Description |
|---|---|
static JobState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static JobState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final JobState UNKNOWN
public static final JobState STOPPED
public static final JobState RUNNING
public static final JobState DONE
public static final JobState FAILED
public static final JobState CANCELLED
public static final JobState CANCELLING
public static final JobState UPDATED
public static final JobState PENDING
public static JobState[] values()
for (JobState c : JobState.values()) System.out.println(c);
public static JobState 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 © 2018. All rights reserved.