org.ow2.orchestra.facade.runtime
Enum ScopeState

java.lang.Object
  extended by java.lang.Enum<ScopeState>
      extended by org.ow2.orchestra.facade.runtime.ScopeState
All Implemented Interfaces:
Serializable, Comparable<ScopeState>

public enum ScopeState
extends Enum<ScopeState>

Author:
S. Ali Tokmen

Enum Constant Summary
COMPENSATED
           
COMPENSATING
           
COMPLETED_SUCCESSFUL
           
COMPLETED_UNSUCCESSFUL
           
HANDLING_FAULT
           
INITIALIZATION_ERROR
           
INITIALIZED
           
RETHROWING_FAULT
           
RUNNING
           
TERMINATED
           
TERMINATING
           
 
Method Summary
static ScopeState valueOf(String name)
          Returns the enum constant of this type with the specified name.
static ScopeState[] 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

INITIALIZATION_ERROR

public static final ScopeState INITIALIZATION_ERROR

INITIALIZED

public static final ScopeState INITIALIZED

RUNNING

public static final ScopeState RUNNING

TERMINATING

public static final ScopeState TERMINATING

HANDLING_FAULT

public static final ScopeState HANDLING_FAULT

COMPLETED_UNSUCCESSFUL

public static final ScopeState COMPLETED_UNSUCCESSFUL

COMPLETED_SUCCESSFUL

public static final ScopeState COMPLETED_SUCCESSFUL

TERMINATED

public static final ScopeState TERMINATED

COMPENSATING

public static final ScopeState COMPENSATING

COMPENSATED

public static final ScopeState COMPENSATED

RETHROWING_FAULT

public static final ScopeState RETHROWING_FAULT
Method Detail

values

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

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

valueOf

public static ScopeState 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 © 2011 OW2 Consortium. All Rights Reserved.