Class ProjectPermissions
java.lang.Object
com.atlassian.bamboo.specs.api.builders.EntityPropertiesBuilder<T>
com.atlassian.bamboo.specs.api.builders.RootEntityPropertiesBuilder<ProjectPermissionsProperties>
com.atlassian.bamboo.specs.api.builders.permission.ProjectPermissions
Entity representing permissions for project.
Note that this object needs to be published separately from associated
Project
Pre-existing permissions that are not defined in associated Permissions
object are revoked when this object is published.-
Field Summary
-
Constructor Summary
ConstructorDescriptionProjectPermissions
(BambooKey projectKey) ProjectPermissions
(String projectKey) -
Method Summary
Modifier and TypeMethodDescriptionprotected ProjectPermissionsProperties
build()
@NotNull BambooKey
Entity type and id representation that is shown to human.Entity type that is shown to human.projectPermissions
(@NotNull Permissions projectPermissions) projectPlanPermissions
(@NotNull Permissions projectPlanPermissions) specsRepositories
(@NotNull String... repositoriesNames)
-
Field Details
-
TYPE
- See Also:
-
-
Constructor Details
-
ProjectPermissions
-
ProjectPermissions
-
-
Method Details
-
projectPermissions
-
projectPlanPermissions
public ProjectPermissions projectPlanPermissions(@NotNull @NotNull Permissions projectPlanPermissions) -
specsRepositories
-
getProjectKey
-
getProjectPermissions
-
getProjectPlanPermissions
-
build
- Specified by:
build
in classEntityPropertiesBuilder<ProjectPermissionsProperties>
-
humanReadableType
Description copied from class:RootEntityPropertiesBuilder
Entity type that is shown to human.- Specified by:
humanReadableType
in classRootEntityPropertiesBuilder<ProjectPermissionsProperties>
-
humanReadableId
Description copied from class:RootEntityPropertiesBuilder
Entity type and id representation that is shown to human.- Specified by:
humanReadableId
in classRootEntityPropertiesBuilder<ProjectPermissionsProperties>
-