|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.customware.gwt.dispatch.shared.BatchAction
public class BatchAction
This provides a simple way to send multiple actions to be executed in
sequence. If any fail, the rules for the BatchAction.OnException
value provided
in the constructor determine the outcome.
Nested Class Summary | |
---|---|
static class |
BatchAction.OnException
|
Constructor Summary | |
---|---|
BatchAction(BatchAction.OnException onException,
Action<?>... actions)
|
Method Summary | |
---|---|
Action<?>[] |
getActions()
The list of actions to execute. |
BatchAction.OnException |
getOnException()
The expected behaviour if any of the sub-actions throw an exception. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BatchAction(BatchAction.OnException onException, Action<?>... actions)
Method Detail |
---|
public BatchAction.OnException getOnException()
public Action<?>[] getActions()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |