org.apache.tez.dag.app.dag
Enum TaskStateInternal
java.lang.Object
java.lang.Enum<TaskStateInternal>
org.apache.tez.dag.app.dag.TaskStateInternal
- All Implemented Interfaces:
- Serializable, Comparable<TaskStateInternal>
public enum TaskStateInternal
- extends Enum<TaskStateInternal>
NEW
public static final TaskStateInternal NEW
SCHEDULED
public static final TaskStateInternal SCHEDULED
RUNNING
public static final TaskStateInternal RUNNING
SUCCEEDED
public static final TaskStateInternal SUCCEEDED
FAILED
public static final TaskStateInternal FAILED
KILL_WAIT
public static final TaskStateInternal KILL_WAIT
KILLED
public static final TaskStateInternal KILLED
values
public static TaskStateInternal[] values()
- Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
for (TaskStateInternal c : TaskStateInternal.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static TaskStateInternal valueOf(String name)
- Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)
- Parameters:
name - the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is null
Copyright © 2014 Apache Software Foundation. All rights reserved.