Class DeploymentPermissions
java.lang.Object
com.atlassian.bamboo.specs.api.builders.EntityPropertiesBuilder<T>
com.atlassian.bamboo.specs.api.builders.RootEntityPropertiesBuilder<DeploymentPermissionsProperties>
com.atlassian.bamboo.specs.api.builders.permission.DeploymentPermissions
public class DeploymentPermissions
extends RootEntityPropertiesBuilder<DeploymentPermissionsProperties>
Entity representing permissions for deployment projects.
Note that this object needs to be published separately from associated
Deployment
.
Pre-existing permissions that are not defined in associated Permissions
object are revoked when this object is published.-
Field Summary
-
Constructor Summary
ConstructorDescriptionDeploymentPermissions
(@NotNull BambooOid deploymentOid) DeploymentPermissions
(@NotNull BambooOidProperties deploymentOid) DeploymentPermissions
(String deploymentProjectName) -
Method Summary
Modifier and TypeMethodDescriptionprotected DeploymentPermissionsProperties
build()
static DeploymentPermissions
createForDeployment
(@NotNull Deployment deployment) Entity type and id representation that is shown to human.Entity type that is shown to human.permissions
(Permissions permissions)
-
Field Details
-
TYPE
- See Also:
-
-
Constructor Details
-
DeploymentPermissions
-
DeploymentPermissions
-
DeploymentPermissions
-
-
Method Details
-
build
- Specified by:
build
in classEntityPropertiesBuilder<DeploymentPermissionsProperties>
-
permissions
-
getDeploymentName
-
createForDeployment
-
humanReadableType
Description copied from class:RootEntityPropertiesBuilder
Entity type that is shown to human.- Specified by:
humanReadableType
in classRootEntityPropertiesBuilder<DeploymentPermissionsProperties>
-
humanReadableId
Description copied from class:RootEntityPropertiesBuilder
Entity type and id representation that is shown to human.- Specified by:
humanReadableId
in classRootEntityPropertiesBuilder<DeploymentPermissionsProperties>
-