net.java.trueupdate.manager.spec.tx
Enum Transactions.Method
java.lang.Object
java.lang.Enum<Transactions.Method>
net.java.trueupdate.manager.spec.tx.Transactions.Method
- All Implemented Interfaces:
- Serializable, Comparable<Transactions.Method>
- Enclosing class:
- Transactions
public static enum Transactions.Method
- extends Enum<Transactions.Method>
commit
public static final Transactions.Method commit
perform
public static final Transactions.Method perform
prepare
public static final Transactions.Method prepare
rollback
public static final Transactions.Method rollback
valueOf
public static Transactions.Method 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
values
public static Transactions.Method[] 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 (Transactions.Method c : Transactions.Method.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
Copyright © 2013 Schlichtherle IT Services. All rights reserved.