public static enum Job.JobState extends 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(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(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 © 2017 The Apache Software Foundation. All rights reserved.