public static enum AbstractScheduledAction.CompensatingActionMode extends Enum<AbstractScheduledAction.CompensatingActionMode>
Enum Constant and Description |
---|
IGNORE
Ignore compensating actions
|
RUN_COMPENSATING_ACTIONS_ON_FAILURE
If failure occurs run the comensating actions.
|
Modifier and Type | Method and Description |
---|---|
static AbstractScheduledAction.CompensatingActionMode |
getCompensatingActionMode(String compensatingActionModeString)
Parse a string to a compensating action mode - used in reading the config.
|
static AbstractScheduledAction.CompensatingActionMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AbstractScheduledAction.CompensatingActionMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AbstractScheduledAction.CompensatingActionMode RUN_COMPENSATING_ACTIONS_ON_FAILURE
public static final AbstractScheduledAction.CompensatingActionMode IGNORE
public static AbstractScheduledAction.CompensatingActionMode[] values()
for (AbstractScheduledAction.CompensatingActionMode c : AbstractScheduledAction.CompensatingActionMode.values()) System.out.println(c);
public static AbstractScheduledAction.CompensatingActionMode 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.CompensatingActionMode getCompensatingActionMode(String compensatingActionModeString)
compensatingActionModeString
- StringCopyright © 2005–2017 Alfresco Software. All rights reserved.