Class CXTask

java.lang.Object
  |
  +--CXTask

public class CXTask
extends java.lang.Object

This class implements the Task interface, making the life for the application programmer much easier. The only method that must be overwritten is the executeTask method. Also, make sure that every class that extends CXTask, must have a constructor with a single argument of type TaskHeader.
The typical way to do that is:
public MyTask(TaskHeader taskHeader) {
super(taskHeader);
}


Here are mentioned only the methods that the consumer should be aware of.


Constructor Summary
CXTask()
          Empty constructor
CXTask(TaskHeader taskHeader)
          All classes that extend CXTask should include a constructor witha single TaskHeader argument.
 
Method Summary
 void executeTask(TaskContainer taskContainer)
          This is the only method that must be overwritten by the application programmer.
 int getMissingInputArguments()
           
 TaskHeader getTaskHeader()
           
 TaskInfo getTaskInfo()
           
 boolean setTaskInfo(TaskInfo ti)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CXTask

public CXTask()
Empty constructor

CXTask

public CXTask(TaskHeader taskHeader)
All classes that extend CXTask should include a constructor witha single TaskHeader argument.
Method Detail

executeTask

public void executeTask(TaskContainer taskContainer)
This is the only method that must be overwritten by the application programmer. Basically, it defines what the task will do.

getTaskInfo

public TaskInfo getTaskInfo()

getTaskHeader

public TaskHeader getTaskHeader()

setTaskInfo

public boolean setTaskInfo(TaskInfo ti)

getMissingInputArguments

public int getMissingInputArguments()