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, reportException
public 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 Runnable
run
in class ActionBase
public boolean execute() throws IOException
execute
in interface Action
execute
in class ActionBase
IOException
- 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.