Interface InteractiveTask

All Superinterfaces:
java.io.Serializable, Task
All Known Implementing Classes:
MultiInteractiveTask, FineGrainedInteractiveTasks, Apple, Banana, Pear, Mandarin

public interface InteractiveTask
extends Task

A task that can also perform I/O during the task opearation through get and set methods.

Method Summary
 java.lang.Object get(java.lang.Object params)
          Used to get output from the task
 void set(java.lang.Object paramsAndWhat)
          Used to send input to the task
Methods inherited from interface distrit.Task

Method Detail


public java.lang.Object get(java.lang.Object params)
Used to get output from the task
params - can be null if this task doesn't need to know WHAT it has to output
Any amount of information can be provided by the task packaged in an Object.


public void set(java.lang.Object paramsAndWhat)
Used to send input to the task
paramsAndWhat - this could be anything, either a single object if the task knows what to do with it, or a container with variable->value pairs..