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 |
Object | getResult() Returns the result of the completion |
void | removeReferences() Removes all references to other objects to aid garbage collection |
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
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
to Class java.lang.Object- Result of the child-Task completion