Inherited by com.scalagent.task.composed.BiSequential.
Inheritance diagram for com.scalagent.task.composed.Sequential:


Public Member Functions | |
| Sequential () | |
| Sequential (short to, String name) | |
| Sequential (short to, AgentId parent, AgentId child[]) | |
Protected Member Functions | |
| void | startSubtasks () throws Exception |
| Object | buildResult () throws Exception |
Composed task with a sequential order of execution of sub-tasks.
Definition at line 36 of file Sequential.java.
| com.scalagent.task.composed.Sequential.Sequential | ( | ) |
Default constructor
Definition at line 40 of file Sequential.java.
| com.scalagent.task.composed.Sequential.Sequential | ( | short | to, | |
| String | name | |||
| ) |
Invoked by the Configurator
Definition at line 47 of file Sequential.java.
Creates an agent to be deployed remotely.
| to | agent server id where agent is to be deployed | |
| parent | agent to report status to | |
| child | children tasks ids |
Definition at line 58 of file Sequential.java.
References com.scalagent.task.composed.Composed.child.
| void com.scalagent.task.composed.Sequential.startSubtasks | ( | ) | throws Exception [protected, virtual] |
Starts sub-tasks that can be started (all their dependent tasks have completed).
Implements com.scalagent.task.composed.Composed.
Definition at line 66 of file Sequential.java.
References com.scalagent.task.composed.Composed.child, and com.scalagent.task.TaskHandle.status.
| Object com.scalagent.task.composed.Sequential.buildResult | ( | ) | throws Exception [protected] |
Builds the result object when this task completes.
Returns the result of last sub-task.
Reimplemented from com.scalagent.task.Task.
Definition at line 101 of file Sequential.java.
1.5.0