public static enum TransactionalTests.RollbackPolicy extends Enum<TransactionalTests.RollbackPolicy>
| Enum Constant and Description |
|---|
ROLLBACK_ALWAYS |
ROLLBACK_NEVER |
ROLLBACK_ON_FAILURE |
| Modifier and Type | Method and Description |
|---|---|
static TransactionalTests.RollbackPolicy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TransactionalTests.RollbackPolicy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TransactionalTests.RollbackPolicy ROLLBACK_ON_FAILURE
public static final TransactionalTests.RollbackPolicy ROLLBACK_NEVER
public static final TransactionalTests.RollbackPolicy ROLLBACK_ALWAYS
public static TransactionalTests.RollbackPolicy[] values()
for (TransactionalTests.RollbackPolicy c : TransactionalTests.RollbackPolicy.values()) System.out.println(c);
public static TransactionalTests.RollbackPolicy 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 null