org.apache.oozie.client.event
Enum SLAEvent.EventStatus

java.lang.Object
  extended by java.lang.Enum<SLAEvent.EventStatus>
      extended by org.apache.oozie.client.event.SLAEvent.EventStatus
All Implemented Interfaces:
Serializable, Comparable<SLAEvent.EventStatus>
Enclosing class:
SLAEvent

public static enum SLAEvent.EventStatus
extends Enum<SLAEvent.EventStatus>


Enum Constant Summary
DURATION_MET
           
DURATION_MISS
           
END_MET
           
END_MISS
           
START_MET
           
START_MISS
           
 
Method Summary
static SLAEvent.EventStatus valueOf(String name)
          Returns the enum constant of this type with the specified name.
static SLAEvent.EventStatus[] 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

START_MET

public static final SLAEvent.EventStatus START_MET

START_MISS

public static final SLAEvent.EventStatus START_MISS

DURATION_MET

public static final SLAEvent.EventStatus DURATION_MET

DURATION_MISS

public static final SLAEvent.EventStatus DURATION_MISS

END_MET

public static final SLAEvent.EventStatus END_MET

END_MISS

public static final SLAEvent.EventStatus END_MISS
Method Detail

values

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

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

valueOf

public static SLAEvent.EventStatus 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 © 2013 Apache Software Foundation. All Rights Reserved.