com.scalagent.task.composed.Sequential Class Reference

Inherits com.scalagent.task.composed.Composed.

Inherited by com.scalagent.task.composed.BiSequential.

Inheritance diagram for com.scalagent.task.composed.Sequential:

Inheritance graph
[legend]
Collaboration diagram for com.scalagent.task.composed.Sequential:

Collaboration graph
[legend]
List of all members.

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

Detailed Description

Composed task with a sequential order of execution of sub-tasks.

Definition at line 36 of file Sequential.java.


Constructor & Destructor Documentation

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.

com.scalagent.task.composed.Sequential.Sequential ( short  to,
AgentId  parent,
AgentId  child[] 
)

Creates an agent to be deployed remotely.

Parameters:
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.


Member Function Documentation

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.

Returns:
the result object of the task

Reimplemented from com.scalagent.task.Task.

Definition at line 101 of file Sequential.java.


The documentation for this class was generated from the following file:
Generated on Tue Sep 16 16:15:59 2008 for joram by  doxygen 1.5.0