fipaos.agent.task.event
Class ChildDoneWithResultEvent

fipaos.agent.task.event.TaskEvent
  |
  +--fipaos.agent.task.event.ChildDoneEvent
        |
        +--fipaos.agent.task.event.ChildDoneWithResultEvent

public class ChildDoneWithResultEvent
extends ChildDoneEvent

Reperesents the unhandled event when a child-Task completes with a result


Constructor Summary
ChildDoneWithResultEvent(Task child, Object result)
          Creates the event, indicating that the given child-Task has completed and
the result

Method Summary
 ObjectgetResult()
          Returns the result of the completion
 voidremoveReferences()
          Removes all references to other objects to aid garbage collection

Methods inherited from class fipaos.agent.task.event.ChildDoneEvent
getChildTask

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

Constructor Detail

ChildDoneWithResultEvent

public ChildDoneWithResultEvent(Task child, Object result)
Creates the event, indicating that the given child-Task has completed and
the result
Parameters:
child - child-Task that has completed
result - Result of the completion
Method Detail

getResult

public Object getResult()
Returns the result of the completion
Returns: The result of the completion

removeReferences

public void removeReferences()
Removes all references to other objects to aid garbage collection

Association Links

to Class java.lang.Object

Result of the child-Task completion