public enum TransactionMode extends Enum<TransactionMode>
| Enum Constant and Description |
|---|
COMMIT
Commit transaction after test execution.
|
DEFAULT
Determined using externalized configuration.
|
DISABLED
Instructs extension to not use transactions for tests execution.
|
ROLLBACK
Rollback transaction after every test.
|
| Modifier and Type | Method and Description |
|---|---|
static TransactionMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TransactionMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TransactionMode ROLLBACK
public static final TransactionMode COMMIT
public static final TransactionMode DISABLED
public static final TransactionMode DEFAULT
public static TransactionMode[] values()
for (TransactionMode c : TransactionMode.values()) System.out.println(c);
public static TransactionMode 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 © 2015 JBoss by Red Hat. All rights reserved.