public static class

SetPermissionRequest.Builder

extends Object
java.lang.Object
   ↳ com.atlassian.stash.user.SetPermissionRequest.Builder

Summary

Public Constructors
SetPermissionRequest.Builder()
Public Methods
SetPermissionRequest build()
SetPermissionRequest.Builder globalPermission(Permission permission)
SetPermissionRequest.Builder group(String group)
SetPermissionRequest.Builder groups(Iterable<String> groups)
SetPermissionRequest.Builder projectPermission(Permission permission, Project project)
SetPermissionRequest.Builder repositoryPermission(Permission permission, Repository repository)
SetPermissionRequest.Builder user(StashUser user)
SetPermissionRequest.Builder users(Iterable<StashUser> users)
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public SetPermissionRequest.Builder ()

Public Methods

public SetPermissionRequest build ()

public SetPermissionRequest.Builder globalPermission (Permission permission)

public SetPermissionRequest.Builder group (String group)

public SetPermissionRequest.Builder groups (Iterable<String> groups)

public SetPermissionRequest.Builder projectPermission (Permission permission, Project project)

public SetPermissionRequest.Builder repositoryPermission (Permission permission, Repository repository)

public SetPermissionRequest.Builder users (Iterable<StashUser> users)