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 |
Task | getChildTask() Returns the child-Task associated with this event |
void | removeReferences() Removes all references to other objects to aid garbage collection |
ChildDoneEvent
public ChildDoneEvent(Task child)
- Creates the event indicating that the given Task is the completed child Task
- Parameters:
- child - Completed child-Task
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
to Class fipaos.agent.task.Task- The completed child-Task