Annotation Interface AgentRole


@Retention(RUNTIME) @Target(TYPE) public @interface AgentRole
Defines the role of an agent. This annotation should be placed on agent classes to specify their role.

This replaces the role field in AgentDescription. If both are present, @AgentRole takes precedence.

  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    The role of the agent.
  • Element Details

    • value

      String value
      The role of the agent.