org.rhq.core.domain.cloud
Enum PartitionEvent.ExecutionStatus

java.lang.Object
  extended by java.lang.Enum<PartitionEvent.ExecutionStatus>
      extended by org.rhq.core.domain.cloud.PartitionEvent.ExecutionStatus
All Implemented Interfaces:
Serializable, Comparable<PartitionEvent.ExecutionStatus>
Enclosing class:
PartitionEvent

public static enum PartitionEvent.ExecutionStatus
extends Enum<PartitionEvent.ExecutionStatus>


Enum Constant Summary
AUDIT
           
COMPLETED
           
IMMEDIATE
           
REQUESTED
           
 
Field Summary
 String message
           
 
Method Summary
 String getMessage()
           
static PartitionEvent.ExecutionStatus valueOf(String name)
          Returns the enum constant of this type with the specified name.
static PartitionEvent.ExecutionStatus[] 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

AUDIT

public static final PartitionEvent.ExecutionStatus AUDIT

COMPLETED

public static final PartitionEvent.ExecutionStatus COMPLETED

IMMEDIATE

public static final PartitionEvent.ExecutionStatus IMMEDIATE

REQUESTED

public static final PartitionEvent.ExecutionStatus REQUESTED
Field Detail

message

public final String message
Method Detail

values

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

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

valueOf

public static PartitionEvent.ExecutionStatus 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

getMessage

public String getMessage()


Copyright © 2008-2009 RHQ Project Advisory Board (Red Hat, Inc.). All Rights Reserved.