fipaos.agent.task.event
Class ChildDoneEvent

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
 TaskgetChildTask()
          Returns the child-Task associated with this event
 voidremoveReferences()
          Removes all references to other objects to aid garbage collection

Methods inherited from class fipaos.agent.task.event.TaskEvent
getTimeSinceTimestamp, getTimestamp

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

Association Links

to Class fipaos.agent.task.Task

The completed child-Task