| Enum Constant and Description |
|---|
JOB_CLEANUP |
JOB_SETUP |
MAP |
REDUCE |
TASK_CLEANUP |
| Modifier and Type | Method and Description |
|---|---|
static TaskType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static TaskType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TaskType MAP
public static final TaskType REDUCE
public static final TaskType JOB_SETUP
public static final TaskType JOB_CLEANUP
public static final TaskType TASK_CLEANUP
public static TaskType[] values()
for (TaskType c : TaskType.values()) System.out.println(c);
public static TaskType valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullCopyright © 2009 The Apache Software Foundation