Class TaskHeader

java.lang.Object
  |
  +--TaskHeader

public class TaskHeader
extends java.lang.Object

This data structure encapsulates the information that is common in all tasks, no matter what their functionality is.


Field Summary
 java.lang.Object inputArguments
          The input arguments of the current task.
 int missingInputArguments
          The number of input arguments that are missing, before the task can be executed.
 TaskInfo myTaskInfo
          The properties of the current task (@see TaskInfo).
 DestinationRecord[] outputDestination
          Used by the system for results handling.
 int sizeOfOutput
          The anticipated number of output arguments.
 int sizeOfOutputProduced
          The number of output arguments already produced.
 
Constructor Summary
TaskHeader(TaskHeader copyTaskHeader)
          Use this constructor when you want to replicate an existing TaskHeader object.
TaskHeader(TaskInfo taskInfo, int inputArguments, int missingInputArguments, int sizeOfOutput, int sizeOfOutputProduced, DestinationRecord[] outputDestination)
          Use this constructor when you want to create a new TaskHeader object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

inputArguments

public java.lang.Object inputArguments
The input arguments of the current task. This is an array of type Object, not a signle Object.

missingInputArguments

public int missingInputArguments
The number of input arguments that are missing, before the task can be executed. Therefore, if this field has value equal to 0, the task is ready to go.

myTaskInfo

public TaskInfo myTaskInfo
The properties of the current task (@see TaskInfo).

outputDestination

public DestinationRecord[] outputDestination
Used by the system for results handling.

sizeOfOutput

public int sizeOfOutput
The anticipated number of output arguments.

sizeOfOutputProduced

public int sizeOfOutputProduced
The number of output arguments already produced. Not currently used.
Constructor Detail

TaskHeader

public TaskHeader(TaskInfo taskInfo,
                  int inputArguments,
                  int missingInputArguments,
                  int sizeOfOutput,
                  int sizeOfOutputProduced,
                  DestinationRecord[] outputDestination)
Use this constructor when you want to create a new TaskHeader object.

TaskHeader

public TaskHeader(TaskHeader copyTaskHeader)
Use this constructor when you want to replicate an existing TaskHeader object.