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 associatedDeployment. Pre-existing permissions that are not defined in associatedPermissionsobject are revoked when this object is published.
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringTYPE
-
Constructor Summary
Constructors Constructor Description DeploymentPermissions(@NotNull BambooOid deploymentOid)DeploymentPermissions(@NotNull BambooOidProperties deploymentOid)DeploymentPermissions(java.lang.String deploymentProjectName)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected DeploymentPermissionsPropertiesbuild()static DeploymentPermissionscreateForDeployment(@NotNull Deployment deployment)java.lang.StringgetDeploymentName()java.lang.StringhumanReadableId()Entity type and id representation that is shown to human.java.lang.StringhumanReadableType()Entity type that is shown to human.DeploymentPermissionspermissions(Permissions permissions)
-
-
-
Field Detail
-
TYPE
public static final java.lang.String TYPE
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
DeploymentPermissions
public DeploymentPermissions(@NotNull @NotNull BambooOid deploymentOid)
-
DeploymentPermissions
public DeploymentPermissions(@NotNull @NotNull BambooOidProperties deploymentOid)
-
DeploymentPermissions
public DeploymentPermissions(java.lang.String deploymentProjectName)
-
-
Method Detail
-
build
protected DeploymentPermissionsProperties build()
- Specified by:
buildin classEntityPropertiesBuilder<DeploymentPermissionsProperties>
-
permissions
public DeploymentPermissions permissions(Permissions permissions)
-
getDeploymentName
public java.lang.String getDeploymentName()
-
createForDeployment
public static DeploymentPermissions createForDeployment(@NotNull @NotNull Deployment deployment)
-
humanReadableType
public java.lang.String humanReadableType()
Description copied from class:RootEntityPropertiesBuilderEntity type that is shown to human.- Specified by:
humanReadableTypein classRootEntityPropertiesBuilder<DeploymentPermissionsProperties>
-
humanReadableId
public java.lang.String humanReadableId()
Description copied from class:RootEntityPropertiesBuilderEntity type and id representation that is shown to human.- Specified by:
humanReadableIdin classRootEntityPropertiesBuilder<DeploymentPermissionsProperties>
-
-