public enum TransactionalAction extends Enum<TransactionalAction>
Enum Constant and Description |
---|
ALWAYS_JOIN
Always require an active transaction
|
JOIN_IF_POSSIBLE
Does not requires an active transaction, but will use it if available
|
NOT_SUPPORTED
Never uses a transaction
|
Modifier and Type | Method and Description |
---|---|
static TransactionalAction |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TransactionalAction[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TransactionalAction ALWAYS_JOIN
public static final TransactionalAction JOIN_IF_POSSIBLE
public static final TransactionalAction NOT_SUPPORTED
public static TransactionalAction[] values()
for (TransactionalAction c : TransactionalAction.values()) System.out.println(c);
public static TransactionalAction 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 © 2003–2016 MuleSoft, Inc.. All rights reserved.