BatchAction
.@Deprecated public abstract class BatchAction extends Object implements Action<BatchResult>
BatchAction.OnException
value provided
in the constructor determine the outcome.Modifier and Type | Class and Description |
---|---|
static class |
BatchAction.OnException
Deprecated.
BatchAction 's OnException enumeration. |
DEFAULT_SERVICE_NAME
Constructor and Description |
---|
BatchAction(BatchAction.OnException onException,
Action<?>... actions)
Deprecated.
Constructs a new batch action, which will attempt to execute the provided
list of actions in order.
|
Modifier and Type | Method and Description |
---|---|
Action<?>[] |
getActions()
Deprecated.
The list of actions to execute.
|
BatchAction.OnException |
getOnException()
Deprecated.
The expected behaviour if any of the sub-actions throw an exception.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getServiceName, isSecured
public BatchAction(BatchAction.OnException onException, Action<?>... actions)
onException
.onException
- If there is an exception, specify the behaviour.actions
- The list of actions to execute.public Action<?>[] getActions()
public BatchAction.OnException getOnException()
Copyright © 2010–2014 Arcbees. All rights reserved.