| 
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectorg.apache.lenya.cms.task.AbstractTask
org.apache.lenya.cms.task.TaskSequence
public class TaskSequence
A TaskSequence contains of multiple tasks that are executed successively.
| Field Summary | 
|---|
| Fields inherited from interface org.apache.lenya.cms.task.Task | 
|---|
DEFAULT_PREFIX, FAILURE, NAMESPACE, PARAMETER_CONTEXT_PREFIX, PARAMETER_PUBLICATION_ID, PARAMETER_SERVER_PORT, PARAMETER_SERVER_URI, PARAMETER_SERVLET_CONTEXT, SUCCESS | 
| Constructor Summary | |
|---|---|
TaskSequence()
 | 
|
| Method Summary | |
|---|---|
 void | 
execute(java.lang.String path)
Executes the tasks.  | 
 java.lang.String | 
getTaskId(Task task)
Returns the ID of a specific Task.  | 
protected  TaskManager | 
getTaskManager()
Returns the TaskManager that is used to manage the tasks of this TaskSequence.  | 
 Task[] | 
getTasks()
Returns the tasks in this sequence.  | 
 void | 
init(org.apache.avalon.framework.configuration.Configuration configuration)
DOCUMENT ME!  | 
| Methods inherited from class org.apache.lenya.cms.task.AbstractTask | 
|---|
getParameters, getResult, parameterize, setLabel, setResult | 
| Methods inherited from class java.lang.Object | 
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
|---|
public TaskSequence()
| Method Detail | 
|---|
public void init(org.apache.avalon.framework.configuration.Configuration configuration)
          throws org.apache.avalon.framework.configuration.ConfigurationException
configuration - DOCUMENT ME!
org.apache.avalon.framework.configuration.ConfigurationException - DOCUMENT ME!public Task[] getTasks()
protected TaskManager getTaskManager()
public java.lang.String getTaskId(Task task)
                           throws ExecutionException
task - the specific task for which the task id is requested.
ExecutionException - if the task could not be found.
public void execute(java.lang.String path)
             throws ExecutionException
path - DOCUMENT ME!
ExecutionException - if the execution fails
  | 
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||