Did this page help you?

   Yes   No   Tell us about it...

com.amazonaws.services.elasticmapreduce.util
Enum BootstrapActions.Daemon

java.lang.Object
  extended by java.lang.Enum<BootstrapActions.Daemon>
      extended by com.amazonaws.services.elasticmapreduce.util.BootstrapActions.Daemon
All Implemented Interfaces:
Serializable, Comparable<BootstrapActions.Daemon>
Enclosing class:
BootstrapActions

public static enum BootstrapActions.Daemon
extends Enum<BootstrapActions.Daemon>

List of Hadoop daemons which can be configured.


Enum Constant Summary
Client
           
DataNode
           
JobTracker
           
NameNode
           
TaskTracker
           
 
Method Summary
static BootstrapActions.Daemon valueOf(String name)
          Returns the enum constant of this type with the specified name.
static BootstrapActions.Daemon[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

NameNode

public static final BootstrapActions.Daemon NameNode

DataNode

public static final BootstrapActions.Daemon DataNode

JobTracker

public static final BootstrapActions.Daemon JobTracker

TaskTracker

public static final BootstrapActions.Daemon TaskTracker

Client

public static final BootstrapActions.Daemon Client
Method Detail

values

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

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

valueOf

public static BootstrapActions.Daemon 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 © 2010 Amazon Web Services, Inc. All Rights Reserved.