org.jboss.system.server.profileservice.repository.clustered.sync
Enum AbstractSynchronizationAction.State

java.lang.Object
  extended by java.lang.Enum<AbstractSynchronizationAction.State>
      extended by org.jboss.system.server.profileservice.repository.clustered.sync.AbstractSynchronizationAction.State
All Implemented Interfaces:
Serializable, Comparable<AbstractSynchronizationAction.State>
Enclosing class:
AbstractSynchronizationAction<T extends SynchronizationActionContext>

public static enum AbstractSynchronizationAction.State
extends Enum<AbstractSynchronizationAction.State>


Enum Constant Summary
CANCELLED
           
CLOSED
           
COMMITTED
           
OPEN
           
PREPARED
           
ROLLBACK_ONLY
           
ROLLEDBACK
           
 
Method Summary
static AbstractSynchronizationAction.State valueOf(String name)
          Returns the enum constant of this type with the specified name.
static AbstractSynchronizationAction.State[] 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

OPEN

public static final AbstractSynchronizationAction.State OPEN

CANCELLED

public static final AbstractSynchronizationAction.State CANCELLED

CLOSED

public static final AbstractSynchronizationAction.State CLOSED

PREPARED

public static final AbstractSynchronizationAction.State PREPARED

COMMITTED

public static final AbstractSynchronizationAction.State COMMITTED

ROLLEDBACK

public static final AbstractSynchronizationAction.State ROLLEDBACK

ROLLBACK_ONLY

public static final AbstractSynchronizationAction.State ROLLBACK_ONLY
Method Detail

values

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

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

valueOf

public static AbstractSynchronizationAction.State 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 © 2009 JBoss, a division of Red Hat, Inc.. All Rights Reserved.