public static class SetPermissionRequest.Builder extends BuilderSupport
NOT_BLANK
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
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(ApplicationUser user) |
SetPermissionRequest.Builder |
users(Iterable<ApplicationUser> users) |
addIf, addIf, addIf, addIf, addIf, addIf, checkNotBlank, requireNonBlank
public SetPermissionRequest.Builder globalPermission(@Nonnull Permission permission)
public SetPermissionRequest.Builder projectPermission(@Nonnull Permission permission, @Nonnull Project project)
public SetPermissionRequest.Builder repositoryPermission(@Nonnull Permission permission, @Nonnull Repository repository)
public SetPermissionRequest.Builder user(@Nonnull ApplicationUser user)
public SetPermissionRequest.Builder users(@Nonnull Iterable<ApplicationUser> users)
public SetPermissionRequest.Builder group(@Nonnull String group)
public SetPermissionRequest.Builder groups(@Nonnull Iterable<String> groups)
public SetPermissionRequest build()
Copyright © 2019 Atlassian. All rights reserved.