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