org.apache.oozie.client.event
Enum SLAEvent.EventStatus
java.lang.Object
java.lang.Enum<SLAEvent.EventStatus>
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>
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
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.