Package jadex.bdi.annotation
Annotation Interface Trigger
A plan trigger states for which events or goals a plan should be selected.
-
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionString[]
The fact added belief names, i.e.String[]
The fact changed belief names, i.e.String[]
The fact removed belief names, i.e.Class<?>[]
Goal type finished events to react on, i.e.Class<?>[]
Goal types to react on, i.e.Activate from service invocation, i.e.
-
Element Details
-
goals
Class<?>[] goalsGoal types to react on, i.e. choose this plan to handle goals of the given type(s).- Default:
{}
-
goalfinisheds
Class<?>[] goalfinishedsGoal type finished events to react on, i.e. the plan will be executed after the goal has been processed (e.g. by a different plan).- Default:
{}
-
factadded
String[] factaddedThe fact added belief names, i.e. the plan will be executed whenever a fact is added to the given belief set(s).- Default:
{}
-
factremoved
String[] factremovedThe fact removed belief names, i.e. the plan will be executed whenever a fact is removed from the given belief set(s).- Default:
{}
-
factchanged
String[] factchangedThe fact changed belief names, i.e. the plan will be executed whenever a fact of a given belief (set) changes.- Default:
{}
-
service
ServiceTrigger serviceActivate from service invocation, i.e. choose this plan to handle service invocation requests of the given type.- Default:
@jadex.bdi.annotation.ServiceTrigger
-