public static enum AbstractScheduledAction.TransactionMode extends Enum<AbstractScheduledAction.TransactionMode>
Enum Constant and Description |
---|
ISOLATED_TRANSACTIONS
Run Each action in an isolated transaction
|
ONE_TRANSACTION
Run in one big transaction.
|
UNTIL_FIRST_FAILURE
Run each action in anisolated transaction, but stop at the first failure
|
Modifier and Type | Method and Description |
---|---|
static AbstractScheduledAction.TransactionMode |
getTransactionMode(String transactionModeString)
Generate a mode from a string.
|
static AbstractScheduledAction.TransactionMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AbstractScheduledAction.TransactionMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AbstractScheduledAction.TransactionMode ISOLATED_TRANSACTIONS
public static final AbstractScheduledAction.TransactionMode UNTIL_FIRST_FAILURE
public static final AbstractScheduledAction.TransactionMode ONE_TRANSACTION
public static AbstractScheduledAction.TransactionMode[] values()
for (AbstractScheduledAction.TransactionMode c : AbstractScheduledAction.TransactionMode.values()) System.out.println(c);
public static AbstractScheduledAction.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 nullpublic static AbstractScheduledAction.TransactionMode getTransactionMode(String transactionModeString)
transactionModeString
- StringCopyright © 2005–2017 Alfresco Software. All rights reserved.