com.tibco.tea.agent.annotations

## Annotation Type TeaRole

-     @Retention(value=RUNTIME)
       @Target(value=TYPE)
      public @interface TeaRole

  Default role contributed by the agent type. Defined roles will be available in TEA Server after given agent type will be registered for the first time and will be removed when the last agent of the given type is unregistered. The role can be changed by the TEA Server administrator after it is created.
  If given role already exists on the server, it will be ignored.
  This annotation can be grouped using `TeaRoles` grouping annotation.

- - ### Required Element Summary

    Required Elements
    Modifier and Type | Required Element and Description
    --- | ---
    `String` | `name` name of the role
    `TeaPrivilege[]` | `privileges` list of privileges for that role

  - ### Optional Element Summary

    Optional Elements
    Modifier and Type | Optional Element and Description
    --- | ---
    `String` | `desc` description of the role

- - ### Element Detail

    - #### name

          public abstract String name

      name of the role

  - - #### privileges

          public abstract TeaPrivilege[] privileges

      list of privileges for that role

  - - #### desc

          public abstract String desc

      description of the role
      Default:
        ""

Copyright © 2022 TIBCO Software Inc.. All Rights Reserved.