Package com.enonic.xp.project

## Class ProjectPermissions.Builder

- java.lang.Object
- - com.enonic.xp.project.ProjectPermissions.Builder

- Enclosing class:
    ProjectPermissions

      public static final class ProjectPermissions.Builder
      extends Object

- - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `ProjectPermissions.Builder` | `addAuthor​(PrincipalKey author)` |
    `ProjectPermissions.Builder` | `addContributor​(PrincipalKey contributor)` |
    `ProjectPermissions.Builder` | `addEditor​(PrincipalKey editor)` |
    `ProjectPermissions.Builder` | `addOwner​(PrincipalKey owner)` |
    `ProjectPermissions.Builder` | `addViewer​(PrincipalKey viewer)` |
    `ProjectPermissions` | `build()` |

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

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

- - ### Method Detail

    - #### addOwner

          public ProjectPermissions.Builder addOwner​(PrincipalKey owner)

    - #### addEditor

          public ProjectPermissions.Builder addEditor​(PrincipalKey editor)

    - #### addAuthor

          public ProjectPermissions.Builder addAuthor​(PrincipalKey author)

    - #### addContributor

          public ProjectPermissions.Builder addContributor​(PrincipalKey contributor)

    - #### addViewer

          public ProjectPermissions.Builder addViewer​(PrincipalKey viewer)

    - #### build

          public ProjectPermissions build()