com.ibm.wsspi.batch.parallel.logicalTX

Enum Synchronization.TXStatus

  1. java.lang.Object
  2. extended byjava.lang.Enum<Synchronization.TXStatus>
  3. extended bycom.ibm.wsspi.batch.parallel.logicalTX.Synchronization.TXStatus
All implemented interfaces:
java.io.Serializable, java.lang.Comparable<Synchronization.TXStatus>
Enclosing class:
Synchronization

  1. public static enum Synchronization.TXStatus
  2. extends java.lang.Enum<Synchronization.TXStatus>
Specifies status values for logical transaction outcome.

Enum Constant Summary

Enum Constant and Description
COMMIT
ROLLBACK

Method Summary

Modifier and Type Method and Description
  1. static
  2. Synchronization.TXStatus
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
  1. static
  2. Synchronization.TXStatus[]
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

COMMIT

  1. public static final Synchronization.TXStatus COMMIT

ROLLBACK

  1. public static final Synchronization.TXStatus ROLLBACK

Method Detail

values

  1. public static Synchronization.TXStatus[] 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 (Synchronization.TXStatus c : Synchronization.TXStatus.values())   
System.out.println(c);
Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

  1. public static Synchronization.TXStatus valueOf( java.lang.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:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null