fipaos.agent.task.event
Class ChildDoneEvent

java.lang.Object
  |
  +--fipaos.agent.task.event.TaskEvent
        |
        +--fipaos.agent.task.event.ChildDoneEvent
Direct Known Subclasses:
ChildDoneWithResultEvent

public class ChildDoneEvent
extends TaskEvent

This represents an unprocessed "child task has invoked done()" event


Constructor Summary
ChildDoneEvent(Task child)
          Creates the event indicating that the given Task is the completed child Task
 
Method Summary
 Task getChildTask()
          Returns the child-Task associated with this event
 void removeReferences()
          Removes all references to other objects to aid garbage collection
 
Methods inherited from class fipaos.agent.task.event.TaskEvent
getTimeSinceTimestamp, getTimestamp
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ChildDoneEvent

public ChildDoneEvent(Task child)
Creates the event indicating that the given Task is the completed child Task
Parameters:
child - Completed child-Task
Method Detail

getChildTask

public Task getChildTask()
Returns the child-Task associated with this event
Returns:
The completed child-Task

removeReferences

public void removeReferences()
Removes all references to other objects to aid garbage collection
Overrides:
removeReferences in class TaskEvent