Annotation Type Agent


  • @Target({TYPE,FIELD})
    @Retention(RUNTIME)
    public @interface Agent
    Marker for agent class and variable.
    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element Description
      Boolean3 autoprovide
      Auto-provide provided services that are directly implemented by the agent.
      Boolean3 autostart
      Auto-start this agent on platform startup.
      Boolean3 keepalive
      If the agent body has a void return value or no body at all this flag can be used to determine if the agent should be kept alive.
      IMonitoringService.PublishEventLevel monitoring
      Specify if monitoring should be enabled on the component.
      java.lang.String name
      Default name for the started component.
      java.lang.String[] predecessors
      Required predecessors (dependencies).
      java.lang.String[] successors
      Declared successors (dependencies).
      Boolean3 suspend
      Specify if the component should be suspened on creation.
      Boolean3 synchronous
      Specify if the subcomponent should run synchronously on its parent's thread.
      java.lang.String type
      The agent type.
    • Element Detail

      • keepalive

        Boolean3 keepalive
        If the agent body has a void return value or no body at all this flag can be used to determine if the agent should be kept alive.
        Default:
        jadex.commons.Boolean3.NULL
      • suspend

        Boolean3 suspend
        Specify if the component should be suspened on creation.
        Default:
        jadex.commons.Boolean3.NULL
      • predecessors

        java.lang.String[] predecessors
        Required predecessors (dependencies).
        Default:
        {}
      • successors

        java.lang.String[] successors
        Declared successors (dependencies).
        Default:
        {}
      • synchronous

        Boolean3 synchronous
        Specify if the subcomponent should run synchronously on its parent's thread.
        Default:
        jadex.commons.Boolean3.NULL
      • monitoring

        IMonitoringService.PublishEventLevel monitoring
        Specify if monitoring should be enabled on the component.
        Default:
        jadex.bridge.service.types.monitoring.IMonitoringService.PublishEventLevel.NULL
      • autoprovide

        Boolean3 autoprovide
        Auto-provide provided services that are directly implemented by the agent.
        Default:
        jadex.commons.Boolean3.NULL
      • autostart

        Boolean3 autostart
        Auto-start this agent on platform startup.
        Default:
        jadex.commons.Boolean3.NULL
      • name

        java.lang.String name
        Default name for the started component.
        Default:
        ""
      • type

        java.lang.String type
        The agent type.
        Default:
        "micro"