public static enum DAGStatus.State extends Enum<DAGStatus.State>
Enum Constant and Description |
---|
ERROR |
FAILED |
INITING |
KILLED |
RUNNING |
SUBMITTED |
SUCCEEDED |
Modifier and Type | Method and Description |
---|---|
static DAGStatus.State |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DAGStatus.State[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DAGStatus.State SUBMITTED
public static final DAGStatus.State INITING
public static final DAGStatus.State RUNNING
public static final DAGStatus.State SUCCEEDED
public static final DAGStatus.State KILLED
public static final DAGStatus.State FAILED
public static final DAGStatus.State ERROR
public static DAGStatus.State[] values()
for (DAGStatus.State c : DAGStatus.State.values()) System.out.println(c);
public static DAGStatus.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 nullCopyright © 2016 Apache Software Foundation. All rights reserved.