Class SetPermissionRequest.Builder
java.lang.Object
com.atlassian.bitbucket.util.BuilderSupport
com.atlassian.bitbucket.permission.SetPermissionRequest.Builder
- Enclosing class:
- SetPermissionRequest
-
Field Summary
Fields inherited from class com.atlassian.bitbucket.util.BuilderSupport
NOT_BLANK
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
globalPermission
(Permission permission) projectPermission
(Permission permission, Project project) repositoryPermission
(Permission permission, Repository repository) user
(ApplicationUser user) users
(Iterable<ApplicationUser> users) Methods inherited from class com.atlassian.bitbucket.util.BuilderSupport
addIf, addIf, addIf, addIf, addIf, addIf, checkNotBlank, requireNonBlank
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
globalPermission
-
projectPermission
public SetPermissionRequest.Builder projectPermission(@Nonnull Permission permission, @Nonnull Project project) -
repositoryPermission
public SetPermissionRequest.Builder repositoryPermission(@Nonnull Permission permission, @Nonnull Repository repository) -
user
-
users
-
group
-
groups
-
build
-