public class CompositeAction extends ActionBase
| Constructor and Description |
|---|
CompositeAction(java.util.List actions,
boolean stopOnError)
Construct a new composite action.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
execute()
Execute sequence of actions.
|
void |
run() |
close, isComplete, reportExceptionpublic CompositeAction(java.util.List actions,
boolean stopOnError)
actions - list of actions, may not be null.stopOnError - if true, stop on the first false return value or exception.public void run()
run in interface java.lang.Runnablerun in class ActionBasepublic boolean execute()
throws java.io.IOException
execute in interface Actionexecute in class ActionBasejava.io.IOException - on IO error.Copyright © 2018. All rights reserved.