org.databene.task
Class SequentialTask

java.lang.Object
  extended by org.databene.task.AbstractTask
      extended by org.databene.task.CompositeTask
          extended by 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

Field Summary
 
Fields inherited from class org.databene.task.CompositeTask
subTasks
 
Fields inherited from class org.databene.task.AbstractTask
taskName
 
Constructor Summary
SequentialTask(Task... subTasks)
           
 
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 org.databene.task.CompositeTask
addSubTask, close, getSubTasks
 
Methods inherited from class org.databene.task.AbstractTask
getTaskName, isParallelizable, isThreadSafe, pageFinished, setTaskName, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SequentialTask

public SequentialTask(Task... subTasks)
Method Detail

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.