Package org.tentackle.test.pdo
Enum AbstractPdoTest.TransactionType
- java.lang.Object
-
- java.lang.Enum<AbstractPdoTest.TransactionType>
-
- org.tentackle.test.pdo.AbstractPdoTest.TransactionType
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<AbstractPdoTest.TransactionType>
- Enclosing class:
- AbstractPdoTest
public static enum AbstractPdoTest.TransactionType extends java.lang.Enum<AbstractPdoTest.TransactionType>
The transaction handling for the test class.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static AbstractPdoTest.TransactionTypevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static AbstractPdoTest.TransactionType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
CLASS
public static final AbstractPdoTest.TransactionType CLASS
transaction per test class.
-
METHOD
public static final AbstractPdoTest.TransactionType METHOD
transaction per test method.
-
NONE
public static final AbstractPdoTest.TransactionType NONE
no automatic transaction handling.
-
-
Method Detail
-
values
public static AbstractPdoTest.TransactionType[] 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 (AbstractPdoTest.TransactionType c : AbstractPdoTest.TransactionType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AbstractPdoTest.TransactionType 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 namejava.lang.NullPointerException- if the argument is null
-
-