Package com.atlassian.bitbucket.util
Class SetFilePermissionRequest.Builder
java.lang.Object
com.atlassian.bitbucket.util.BuilderSupport
com.atlassian.bitbucket.util.SetFilePermissionRequest.Builder
- Enclosing class:
- SetFilePermissionRequest
-
Field Summary
Fields inherited from class com.atlassian.bitbucket.util.BuilderSupport
NOT_BLANK
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
groupPermission
(FilePermission permission) groupPermissions
(Iterable<FilePermission> permissions) ownerPermission
(FilePermission permission) ownerPermissions
(Iterable<FilePermission> permissions) worldPermission
(FilePermission permission) worldPermissions
(Iterable<FilePermission> permissions) Methods inherited from class com.atlassian.bitbucket.util.BuilderSupport
addIf, addIf, addIf, addIf, addIf, addIf, checkNotBlank, requireNonBlank
-
Constructor Details
-
Builder
- Parameters:
path
- the path to set permissions for- Since:
- 5.11
-
-
Method Details
-
build
-
groupPermission
@Nonnull public SetFilePermissionRequest.Builder groupPermission(@Nonnull FilePermission permission) -
groupPermissions
@Nonnull public SetFilePermissionRequest.Builder groupPermissions(@Nonnull Iterable<FilePermission> permissions) -
ownerPermission
@Nonnull public SetFilePermissionRequest.Builder ownerPermission(@Nonnull FilePermission permission) -
ownerPermissions
@Nonnull public SetFilePermissionRequest.Builder ownerPermissions(@Nonnull Iterable<FilePermission> permissions) -
worldPermission
@Nonnull public SetFilePermissionRequest.Builder worldPermission(@Nonnull FilePermission permission) -
worldPermissions
@Nonnull public SetFilePermissionRequest.Builder worldPermissions(@Nonnull Iterable<FilePermission> permissions)
-