Class DeploymentPermissionsProperties
- java.lang.Object
-
- com.atlassian.bamboo.specs.api.model.permission.DeploymentPermissionsProperties
-
- All Implemented Interfaces:
EntityProperties,RootEntityProperties
@Immutable public class DeploymentPermissionsProperties extends Object implements RootEntityProperties
-
-
Constructor Summary
Constructors Constructor Description DeploymentPermissionsProperties(@NotNull BambooOidProperties deploymentOid, @NotNull PermissionsProperties permissions)DeploymentPermissionsProperties(@NotNull String deploymentName, @NotNull PermissionsProperties permissions)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)StringgetDeploymentName()BambooOidPropertiesgetDeploymentOid()PermissionsPropertiesgetPermissions()inthashCode()StringhumanReadableId()Entity type and id representation that is shown to human.@NotNull StringhumanReadableType()Entity type that is shown to human.voidvalidate()
-
-
-
Constructor Detail
-
DeploymentPermissionsProperties
public DeploymentPermissionsProperties(@NotNull @NotNull String deploymentName, @NotNull @NotNull PermissionsProperties permissions) throws PropertiesValidationException- Throws:
PropertiesValidationException
-
DeploymentPermissionsProperties
public DeploymentPermissionsProperties(@NotNull @NotNull BambooOidProperties deploymentOid, @NotNull @NotNull PermissionsProperties permissions) throws PropertiesValidationException- Throws:
PropertiesValidationException
-
-
Method Detail
-
validate
public void validate() throws PropertiesValidationException- Specified by:
validatein interfaceEntityProperties- Throws:
PropertiesValidationException
-
getDeploymentOid
public BambooOidProperties getDeploymentOid()
-
getDeploymentName
public String getDeploymentName()
-
getPermissions
public PermissionsProperties getPermissions()
-
humanReadableType
@NotNull public @NotNull String humanReadableType()
Description copied from interface:RootEntityPropertiesEntity type that is shown to human.- Specified by:
humanReadableTypein interfaceRootEntityProperties
-
humanReadableId
public String humanReadableId()
Description copied from interface:RootEntityPropertiesEntity type and id representation that is shown to human.- Specified by:
humanReadableIdin interfaceRootEntityProperties
-
-