Package com.enonic.xp.service

## Class ServiceDescriptor

- java.lang.Object
- - com.enonic.xp.service.ServiceDescriptor

-     public final class ServiceDescriptor
      extends Object

- - ### Nested Class Summary

    Nested Classes
    Modifier and Type | Class | Description
    --- | --- | ---
    `static class` | `ServiceDescriptor.Builder` |

  - ### Method Summary

    All Methods Static Methods Instance Methods Concrete Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `static ServiceDescriptor.Builder` | `create()` |
    `PrincipalKeys` | `getAllowedPrincipals()` |
    `DescriptorKey` | `getKey()` |
    `boolean` | `isAccessAllowed​(PrincipalKeys principalKeys)` |
    `static ResourceKey` | `toRootResourceKey​(DescriptorKey key)` |

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

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

- - ### Method Detail

    - #### getKey

          public DescriptorKey getKey()

    - #### getAllowedPrincipals

          public PrincipalKeys getAllowedPrincipals()

    - #### isAccessAllowed

          public boolean isAccessAllowed​(PrincipalKeys principalKeys)

    - #### toRootResourceKey

          public static ResourceKey toRootResourceKey​(DescriptorKey key)

    - #### create

          public static ServiceDescriptor.Builder create()