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
BatchAction 's enumeration of possible outcomes when there is an exception. |
DEFAULT_SERVICE_NAME
Constructor and Description |
---|
BatchAction(BatchAction.OnException onException,
Action<?>... actions)
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()
The list of actions to execute.
|
BatchAction.OnException |
getOnException()
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.