Package org.eclipse.emf.cdo.transaction
Enum CDOTransactionFinishedEvent.Cause
- java.lang.Object
- 
- java.lang.Enum<CDOTransactionFinishedEvent.Cause>
- 
- org.eclipse.emf.cdo.transaction.CDOTransactionFinishedEvent.Cause
 
 
- 
- All Implemented Interfaces:
- java.io.Serializable,- java.lang.Comparable<CDOTransactionFinishedEvent.Cause>
 - Enclosing interface:
- CDOTransactionFinishedEvent
 
 public static enum CDOTransactionFinishedEvent.Cause extends java.lang.Enum<CDOTransactionFinishedEvent.Cause> Enumerates the possiblecausesfor atransactionto become finished.- Since:
- 4.3
- Author:
- Eike Stepper
 
- 
- 
Enum Constant SummaryEnum Constants Enum Constant Description COMMITTEDROLLED_BACKUNDONE
 - 
Method SummaryAll Methods Static Methods Concrete Methods Modifier and Type Method Description static CDOTransactionFinishedEvent.CausevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static CDOTransactionFinishedEvent.Cause[]values()Returns an array containing the constants of this enum type, in the order they are declared.
 
- 
- 
- 
Enum Constant Detail- 
COMMITTEDpublic static final CDOTransactionFinishedEvent.Cause COMMITTED 
 - 
ROLLED_BACKpublic static final CDOTransactionFinishedEvent.Cause ROLLED_BACK 
 - 
UNDONEpublic static final CDOTransactionFinishedEvent.Cause UNDONE 
 
- 
 - 
Method Detail- 
valuespublic static CDOTransactionFinishedEvent.Cause[] 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 (CDOTransactionFinishedEvent.Cause c : CDOTransactionFinishedEvent.Cause.values()) System.out.println(c); - Returns:
- an array containing the constants of this enum type, in the order they are declared
 
 - 
valueOfpublic static CDOTransactionFinishedEvent.Cause 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
 
 
- 
 
-