org.apache.hadoop.yarn.server.nodemanager.containermanager.application
Enum ApplicationEventType

java.lang.Object
  extended by java.lang.Enum<ApplicationEventType>
      extended by org.apache.hadoop.yarn.server.nodemanager.containermanager.application.ApplicationEventType
All Implemented Interfaces:
Serializable, Comparable<ApplicationEventType>

public enum ApplicationEventType
extends Enum<ApplicationEventType>


Enum Constant Summary
APPLICATION_CONTAINER_FINISHED
           
APPLICATION_INITED
           
APPLICATION_LOG_HANDLING_FINISHED
           
APPLICATION_RESOURCES_CLEANEDUP
           
FINISH_APPLICATION
           
INIT_APPLICATION
           
INIT_CONTAINER
           
 
Method Summary
static ApplicationEventType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static ApplicationEventType[] 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

INIT_APPLICATION

public static final ApplicationEventType INIT_APPLICATION

INIT_CONTAINER

public static final ApplicationEventType INIT_CONTAINER

FINISH_APPLICATION

public static final ApplicationEventType FINISH_APPLICATION

APPLICATION_INITED

public static final ApplicationEventType APPLICATION_INITED

APPLICATION_RESOURCES_CLEANEDUP

public static final ApplicationEventType APPLICATION_RESOURCES_CLEANEDUP

APPLICATION_CONTAINER_FINISHED

public static final ApplicationEventType APPLICATION_CONTAINER_FINISHED

APPLICATION_LOG_HANDLING_FINISHED

public static final ApplicationEventType APPLICATION_LOG_HANDLING_FINISHED
Method Detail

values

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

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

valueOf

public static ApplicationEventType 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 © 2012 Apache Software Foundation. All Rights Reserved.