public static enum JobTracker.State extends Enum<JobTracker.State>
State
is no longer used since M/R 2.x. It is kept in case
that M/R 1.x applications may still use it.Enum Constant and Description |
---|
INITIALIZING |
RUNNING |
Modifier and Type | Method and Description |
---|---|
static JobTracker.State |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static JobTracker.State[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final JobTracker.State INITIALIZING
public static final JobTracker.State RUNNING
public static JobTracker.State[] values()
for (JobTracker.State c : JobTracker.State.values()) System.out.println(c);
public static JobTracker.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.