public class CompositeAction extends ActionBase
| Constructor and Description |
|---|
CompositeAction(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(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 Runnablerun in class ActionBasepublic boolean execute()
throws IOException
execute in interface Actionexecute in class ActionBaseIOException - on IO error.Copyright © 2013 The Apache Software Foundation. Licensed under the Apache License, Version 2.0
Apache Extras for Apache log4j, Apache log4j and Apache are trademarks of the Apache Software Foundation.