edu.memphis.ccrg.lida.framework.tasks
Class MockTaskSpawner

java.lang.Object
  extended by edu.memphis.ccrg.lida.framework.tasks.TaskSpawnerImpl
      extended by edu.memphis.ccrg.lida.framework.tasks.MockTaskSpawner
All Implemented Interfaces:
Initializable, TaskSpawner

public class MockTaskSpawner
extends TaskSpawnerImpl


Field Summary
 FrameworkTask lastReceived
           
 
Constructor Summary
MockTaskSpawner()
           
 
Method Summary
 void receiveFinishedTask(FrameworkTask task)
          This method receives a task that has finished.
 
Methods inherited from class edu.memphis.ccrg.lida.framework.tasks.TaskSpawnerImpl
addTask, addTasks, cancelTask, containsTask, getParam, getRunningTasks, init, init, processResults, setTaskManager
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

lastReceived

public FrameworkTask lastReceived
Constructor Detail

MockTaskSpawner

public MockTaskSpawner()
Method Detail

receiveFinishedTask

public void receiveFinishedTask(FrameworkTask task)
Description copied from interface: TaskSpawner
This method receives a task that has finished. TaskSpawners can choose what to do with the FrameworkTask each time it finishes running. Generally the FrameworkTask's TaskStatus determines this action.

Specified by:
receiveFinishedTask in interface TaskSpawner
Overrides:
receiveFinishedTask in class TaskSpawnerImpl
Parameters:
task - finished FrameworkTask