com.waveset.task
Class TestTask

java.lang.Object
  extended bycom.waveset.task.Executor
      extended bycom.waveset.task.TestTask

public class TestTask
extends Executor


Field Summary
static java.lang.String code_id
           
 
Fields inherited from class com.waveset.task.Executor
_monitor, _suspendRequested, _terminateRequested, trace, XML_HEADER
 
Constructor Summary
TestTask()
           
 
Method Summary
 void execute(TaskContext context, TaskInstance task)
          Execute the task.
static void println(java.lang.String msg)
           
 
Methods inherited from class com.waveset.task.Executor
addExtendedResult, delete, doRealWork, getExtendedResult, getPool, isSuspendRequested, isTerminateRequested, println, processEvent, setPool, setSuspendRequested, setTerminateRequested
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

code_id

public static final java.lang.String code_id
See Also:
Constant Field Values
Constructor Detail

TestTask

public TestTask()
Method Detail

execute

public void execute(TaskContext context,
                    TaskInstance task)
Description copied from class: Executor
Execute the task. System resources are supplied through the context object. Task options and persistent task state is supplied through the task object. This method provides shell execution logic as a default. A subclass must feel perfectly free to override this logic if any part of the structure seems inappropriate. However, if satisfied with this structure, a subclass need only implement the abstract method doRealWork().

Overrides:
execute in class Executor
See Also:
Executor.doRealWork(TaskContext, TaskInstance)

println

public static void println(java.lang.String msg)