Package jason.asSemantics
Class GoalListenerForMetaEvents
java.lang.Object
jason.asSemantics.GoalListenerForMetaEvents
- All Implemented Interfaces:
GoalListener
,Serializable
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface jason.asSemantics.GoalListener
GoalListener.GoalStates
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
goalExecuting
(Trigger goal, Term reason) called when a suspended goal is executingvoid
goalFailed
(Trigger goal, Term reason) method called when a goal is failedvoid
goalFinished
(Trigger goal, GoalListener.GoalStates result) method called when a goal is (un)successfully finishedvoid
goalResumed
(Trigger goal, Term reason) called when a suspended goal is resumedvoid
goalStarted
(Event goal) method called when a new goal is produced by operator !void
goalSuspended
(Trigger goal, Term reason) method called when a goal is suspended (by internal action .suspend, for instance)void
goalWaiting
(Trigger goal, Term reason) method called when a goal is waiting something (waiting action on the environment or due to internal actions like .waitd)
-
Constructor Details
-
GoalListenerForMetaEvents
-
-
Method Details
-
goalStarted
Description copied from interface:GoalListener
method called when a new goal is produced by operator !- Specified by:
goalStarted
in interfaceGoalListener
-
goalFailed
Description copied from interface:GoalListener
method called when a goal is failed- Specified by:
goalFailed
in interfaceGoalListener
-
goalFinished
Description copied from interface:GoalListener
method called when a goal is (un)successfully finished- Specified by:
goalFinished
in interfaceGoalListener
-
goalExecuting
Description copied from interface:GoalListener
called when a suspended goal is executing- Specified by:
goalExecuting
in interfaceGoalListener
-
goalResumed
Description copied from interface:GoalListener
called when a suspended goal is resumed- Specified by:
goalResumed
in interfaceGoalListener
-
goalSuspended
Description copied from interface:GoalListener
method called when a goal is suspended (by internal action .suspend, for instance)- Specified by:
goalSuspended
in interfaceGoalListener
-
goalWaiting
Description copied from interface:GoalListener
method called when a goal is waiting something (waiting action on the environment or due to internal actions like .waitd)- Specified by:
goalWaiting
in interfaceGoalListener
-