org.databene.task
Class SequentialTask
java.lang.Object
org.databene.task.AbstractTask
org.databene.task.CompositeTask
org.databene.task.SequentialTask
- All Implemented Interfaces:
- java.io.Closeable, org.databene.commons.ThreadAware, Task
public class SequentialTask
- extends CompositeTask
Task implementation that executes a series of other tasks consecutively.
Created at 24.07.2009 06:32:43
- Since:
- 0.6.0
- Author:
- Volker Bergmann
Method Summary |
TaskResult |
execute(org.databene.commons.Context context,
org.databene.commons.ErrorHandler errorHandler)
Executes the task's work, possibly interacting with the context. |
protected TaskResult |
runSubTask(Task subTask,
org.databene.commons.Context context,
org.databene.commons.ErrorHandler errorHandler)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
SequentialTask
public SequentialTask(Task... subTasks)
execute
public TaskResult execute(org.databene.commons.Context context,
org.databene.commons.ErrorHandler errorHandler)
- Description copied from interface:
Task
- Executes the task's work, possibly interacting with the context.
runSubTask
protected TaskResult runSubTask(Task subTask,
org.databene.commons.Context context,
org.databene.commons.ErrorHandler errorHandler)
Copyright © 2013. All Rights Reserved.