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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidgoalExecuting(Trigger goal, Term reason) called when a suspended goal is executingvoidgoalFailed(Trigger goal, Term reason) method called when a goal is failedvoidgoalFinished(Trigger goal, GoalListener.GoalStates result) method called when a goal is (un)successfully finishedvoidgoalResumed(Trigger goal, Term reason) called when a suspended goal is resumedvoidgoalStarted(Event goal) method called when a new goal is produced by operator !voidgoalSuspended(Trigger goal, Term reason) method called when a goal is suspended (by internal action .suspend, for instance)voidgoalWaiting(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:GoalListenermethod called when a new goal is produced by operator !- Specified by:
goalStartedin interfaceGoalListener
-
goalFailed
Description copied from interface:GoalListenermethod called when a goal is failed- Specified by:
goalFailedin interfaceGoalListener
-
goalFinished
Description copied from interface:GoalListenermethod called when a goal is (un)successfully finished- Specified by:
goalFinishedin interfaceGoalListener
-
goalExecuting
Description copied from interface:GoalListenercalled when a suspended goal is executing- Specified by:
goalExecutingin interfaceGoalListener
-
goalResumed
Description copied from interface:GoalListenercalled when a suspended goal is resumed- Specified by:
goalResumedin interfaceGoalListener
-
goalSuspended
Description copied from interface:GoalListenermethod called when a goal is suspended (by internal action .suspend, for instance)- Specified by:
goalSuspendedin interfaceGoalListener
-
goalWaiting
Description copied from interface:GoalListenermethod called when a goal is waiting something (waiting action on the environment or due to internal actions like .waitd)- Specified by:
goalWaitingin interfaceGoalListener
-