Annotation Type Trigger


  • @Target(ANNOTATION_TYPE)
    @Retention(RUNTIME)
    public @interface Trigger
    A plan trigger states for which events or goals a plan should be selected.
    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element Description
      java.lang.String[] factadded
      The fact added belief names, i.e. the plan will be executed whenever a fact is added to the given belief set(s).
      java.lang.String[] factaddeds
      Deprecated.
      Use factadded (without trailing 's').
      java.lang.String[] factchanged
      The fact changed belief names, i.e. the plan will be executed whenever a fact of a given belief (set) changes.
      java.lang.String[] factchangeds
      Deprecated.
      Use factchanged (without trailing 's').
      java.lang.String[] factremoved
      The fact removed belief names, i.e. the plan will be executed whenever a fact is removed from the given belief set(s).
      java.lang.String[] factremoveds
      Deprecated.
      Use factremoved (without trailing 's').
      java.lang.Class<?>[] goalfinisheds
      Goal 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).
      java.lang.Class<?>[] goals
      Goal types to react on, i.e. choose this plan to handle goals of the given type(s).
      ServiceTrigger service
      Activate from service invocation, i.e. choose this plan to handle service invocation requests of the given type.
    • Element Detail

      • goals

        java.lang.Class<?>[] goals
        Goal types to react on, i.e. choose this plan to handle goals of the given type(s).
        Default:
        {}
      • goalfinisheds

        java.lang.Class<?>[] goalfinisheds
        Goal 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:
        {}
      • factaddeds

        @Deprecated
        java.lang.String[] factaddeds
        Deprecated.
        Use factadded (without trailing 's').
        The fact added belief names, i.e. the plan will be executed whenever a fact is added to the given belief set(s).
        Default:
        {}
      • factremoveds

        java.lang.String[] factremoveds
        Deprecated.
        Use factremoved (without trailing 's').
        The fact removed belief names, i.e. the plan will be executed whenever a fact is removed from the given belief set(s).
        Default:
        {}
      • factchangeds

        java.lang.String[] factchangeds
        Deprecated.
        Use factchanged (without trailing 's').
        The fact changed belief names, i.e. the plan will be executed whenever a fact of a given belief (set) changes.
        Default:
        {}
      • factadded

        java.lang.String[] factadded
        The fact added belief names, i.e. the plan will be executed whenever a fact is added to the given belief set(s).
        Default:
        {}
      • factremoved

        java.lang.String[] factremoved
        The fact removed belief names, i.e. the plan will be executed whenever a fact is removed from the given belief set(s).
        Default:
        {}
      • factchanged

        java.lang.String[] factchanged
        The fact changed belief names, i.e. the plan will be executed whenever a fact of a given belief (set) changes.
        Default:
        {}
      • service

        ServiceTrigger service
        Activate from service invocation, i.e. choose this plan to handle service invocation requests of the given type.
        Default:
        @jadex.bdiv3.annotation.ServiceTrigger