public static enum Job.JobState extends java.lang.Enum<Job.JobState>
Enum Constant and Description |
---|
ACTIVE |
DROPPED |
ERROR |
GIVEN_UP |
QUEUED |
STOPPED |
SUCCEEDED |
Modifier and Type | Method and Description |
---|---|
static Job.JobState |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Job.JobState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Job.JobState QUEUED
public static final Job.JobState ACTIVE
public static final Job.JobState SUCCEEDED
public static final Job.JobState STOPPED
public static final Job.JobState GIVEN_UP
public static final Job.JobState ERROR
public static final Job.JobState DROPPED
public static Job.JobState[] values()
for (Job.JobState c : Job.JobState.values()) System.out.println(c);
public static Job.JobState 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 © 2010 - 2020 Adobe. All Rights Reserved