Class EnvironmentPermissions
java.lang.Object
com.atlassian.bamboo.specs.api.builders.EntityPropertiesBuilder<T>
com.atlassian.bamboo.specs.api.builders.RootEntityPropertiesBuilder<EnvironmentPermissionsProperties>
com.atlassian.bamboo.specs.api.builders.permission.EnvironmentPermissions
public class EnvironmentPermissions
extends RootEntityPropertiesBuilder<EnvironmentPermissionsProperties>
Entity representing permissions for deployment environments.
Note that this object needs to be published separately from
Deployment
environment belongs to.
Pre-existing permissions that are not defined in associated Permissions
object are revoked when this object is published.-
Field Summary
-
Constructor Summary
ConstructorDescriptionEnvironmentPermissions
(BambooOid deploymentOid) EnvironmentPermissions
(String deploymentProjectName) EnvironmentPermissions
(String deploymentProjectName, String environmentName) -
Method Summary
Modifier and TypeMethodDescriptionprotected EnvironmentPermissionsProperties
build()
deploymentProjectName
(String deploymentProjectName) environmentName
(@NotNull String environmentName) 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
-
EnvironmentPermissions
-
EnvironmentPermissions
-
EnvironmentPermissions
-
-
Method Details
-
build
- Specified by:
build
in classEntityPropertiesBuilder<EnvironmentPermissionsProperties>
-
deploymentProjectName
-
environmentName
-
permissions
-
getDeploymentName
-
getEnvironmentName
-
humanReadableType
Description copied from class:RootEntityPropertiesBuilder
Entity type that is shown to human.- Specified by:
humanReadableType
in classRootEntityPropertiesBuilder<EnvironmentPermissionsProperties>
-
humanReadableId
Description copied from class:RootEntityPropertiesBuilder
Entity type and id representation that is shown to human.- Specified by:
humanReadableId
in classRootEntityPropertiesBuilder<EnvironmentPermissionsProperties>
-