org.apache.hadoop.tools.rumen
Enum Pre21JobHistoryConstants.Values
java.lang.Object
java.lang.Enum<Pre21JobHistoryConstants.Values>
org.apache.hadoop.tools.rumen.Pre21JobHistoryConstants.Values
- All Implemented Interfaces:
- Serializable, Comparable<Pre21JobHistoryConstants.Values>
- Enclosing class:
- Pre21JobHistoryConstants
public static enum Pre21JobHistoryConstants.Values
- extends Enum<Pre21JobHistoryConstants.Values>
This enum contains some of the values commonly used by history log events.
since values in history can only be strings - Values.name() is used in
most places in history file.
SUCCESS
public static final Pre21JobHistoryConstants.Values SUCCESS
FAILED
public static final Pre21JobHistoryConstants.Values FAILED
KILLED
public static final Pre21JobHistoryConstants.Values KILLED
MAP
public static final Pre21JobHistoryConstants.Values MAP
REDUCE
public static final Pre21JobHistoryConstants.Values REDUCE
CLEANUP
public static final Pre21JobHistoryConstants.Values CLEANUP
RUNNING
public static final Pre21JobHistoryConstants.Values RUNNING
PREP
public static final Pre21JobHistoryConstants.Values PREP
SETUP
public static final Pre21JobHistoryConstants.Values SETUP
values
public static Pre21JobHistoryConstants.Values[] 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 (Pre21JobHistoryConstants.Values c : Pre21JobHistoryConstants.Values.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static Pre21JobHistoryConstants.Values 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 © 2009 The Apache Software Foundation