public static enum CDOTransactionFinishedEvent.Cause extends Enum<CDOTransactionFinishedEvent.Cause>
causes
for a transaction
to become finished.Enum Constant and Description |
---|
COMMITTED |
ROLLED_BACK |
UNDONE |
Modifier and Type | Method and Description |
---|---|
static CDOTransactionFinishedEvent.Cause |
valueOf(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.
|
public static final CDOTransactionFinishedEvent.Cause COMMITTED
public static final CDOTransactionFinishedEvent.Cause ROLLED_BACK
public static final CDOTransactionFinishedEvent.Cause UNDONE
public static CDOTransactionFinishedEvent.Cause[] values()
for (CDOTransactionFinishedEvent.Cause c : CDOTransactionFinishedEvent.Cause.values()) System.out.println(c);
public static CDOTransactionFinishedEvent.Cause valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright (c) 2014 Eike Stepper (Berlin, Germany) and others.
All rights reserved. This program and the accompanying materials are made available under the terms of the Eclipse Public License v1.0 which accompanies this distribution, and is available at http://www.eclipse.org/legal/epl-v10.html