public static enum JobStatus.State extends Enum<JobStatus.State>
Enum Constant and Description |
---|
FAILED |
KILLED |
PREP |
RUNNING |
SUCCEEDED |
Modifier and Type | Method and Description |
---|---|
int |
getValue() |
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 RUNNING
public static final JobStatus.State SUCCEEDED
public static final JobStatus.State FAILED
public static final JobStatus.State PREP
public static final JobStatus.State KILLED
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 nullpublic int getValue()
Copyright © 2016 Apache Software Foundation. All Rights Reserved.