org.apache.hadoop.tools.rumen
Enum JobConfPropertyNames

java.lang.Object
  extended by java.lang.Enum<JobConfPropertyNames>
      extended by org.apache.hadoop.tools.rumen.JobConfPropertyNames
All Implemented Interfaces:
Serializable, Comparable<JobConfPropertyNames>

public enum JobConfPropertyNames
extends Enum<JobConfPropertyNames>


Enum Constant Summary
JOB_NAMES
           
MAP_JAVA_OPTS_S
           
QUEUE_NAMES
           
REDUCE_JAVA_OPTS_S
           
TASK_JAVA_OPTS_S
           
 
Method Summary
 String[] getCandidates()
           
static JobConfPropertyNames valueOf(String name)
          Returns the enum constant of this type with the specified name.
static JobConfPropertyNames[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

QUEUE_NAMES

public static final JobConfPropertyNames QUEUE_NAMES

JOB_NAMES

public static final JobConfPropertyNames JOB_NAMES

TASK_JAVA_OPTS_S

public static final JobConfPropertyNames TASK_JAVA_OPTS_S

MAP_JAVA_OPTS_S

public static final JobConfPropertyNames MAP_JAVA_OPTS_S

REDUCE_JAVA_OPTS_S

public static final JobConfPropertyNames REDUCE_JAVA_OPTS_S
Method Detail

values

public static JobConfPropertyNames[] 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 (JobConfPropertyNames c : JobConfPropertyNames.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static JobConfPropertyNames 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

getCandidates

public String[] getCandidates()


Copyright © 2009 The Apache Software Foundation