Package jason.asSemantics
Interface GoalListener
- All Superinterfaces:
Serializable
- All Known Implementing Classes:
GoalListenerForMetaEvents
call-back interface to be notified about events on goals
-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescriptiondefault void
goalExecuting
(Trigger goal, Term reason) called when a suspended goal is executingdefault void
goalFailed
(Trigger goal, Term reason) method called when a goal is faileddefault void
goalFinished
(Trigger goal, GoalListener.GoalStates result) method called when a goal is (un)successfully finisheddefault void
goalResumed
(Trigger goal, Term reason) called when a suspended goal is resumeddefault void
goalStarted
(Event goal) method called when a new goal is produced by operator !default void
goalSuspended
(Trigger goal, Term reason) method called when a goal is suspended (by internal action .suspend, for instance)default 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)
-
Method Details
-
goalStarted
method called when a new goal is produced by operator ! -
goalFinished
method called when a goal is (un)successfully finished -
goalFailed
method called when a goal is failed -
goalSuspended
method called when a goal is suspended (by internal action .suspend, for instance) -
goalWaiting
method called when a goal is waiting something (waiting action on the environment or due to internal actions like .waitd) -
goalResumed
called when a suspended goal is resumed -
goalExecuting
called when a suspended goal is executing
-