Package com.enonic.xp.admin.tool

## Class AdminToolDescriptor.Builder

- java.lang.Object
- - com.enonic.xp.admin.tool.AdminToolDescriptor.Builder

- Enclosing class:
    AdminToolDescriptor

      public static final class AdminToolDescriptor.Builder
      extends Object

- - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `AdminToolDescriptor.Builder` | `addAllowedPrincipals​(PrincipalKey allowedPrincipal)` |
    `AdminToolDescriptor` | `build()` |
    `AdminToolDescriptor.Builder` | `description​(String description)` |
    `AdminToolDescriptor.Builder` | `descriptionI18nKey​(String descriptionI18nKey)` |
    `AdminToolDescriptor.Builder` | `displayName​(String displayName)` |
    `AdminToolDescriptor.Builder` | `displayNameI18nKey​(String displayNameI18nKey)` |
    `AdminToolDescriptor.Builder` | `key​(DescriptorKey key)` |

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Method Detail

    - #### key

          public AdminToolDescriptor.Builder key​(DescriptorKey key)

    - #### displayName

          public AdminToolDescriptor.Builder displayName​(String displayName)

    - #### displayNameI18nKey

          public AdminToolDescriptor.Builder displayNameI18nKey​(String displayNameI18nKey)

    - #### description

          public AdminToolDescriptor.Builder description​(String description)

    - #### descriptionI18nKey

          public AdminToolDescriptor.Builder descriptionI18nKey​(String descriptionI18nKey)

    - #### addAllowedPrincipals

          public AdminToolDescriptor.Builder addAllowedPrincipals​(PrincipalKey allowedPrincipal)

    - #### build

          public AdminToolDescriptor build()