Class DeploymentPermissionsProperties
- java.lang.Object
-
- com.atlassian.bamboo.specs.api.model.permission.DeploymentPermissionsProperties
-
- All Implemented Interfaces:
EntityProperties,RootEntityProperties
@Immutable public class DeploymentPermissionsProperties extends java.lang.Object implements RootEntityProperties
-
-
Constructor Summary
Constructors Constructor Description DeploymentPermissionsProperties(@NotNull BambooOidProperties deploymentOid, @NotNull PermissionsProperties permissions)DeploymentPermissionsProperties(@NotNull java.lang.String deploymentName, @NotNull PermissionsProperties permissions)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object o)java.lang.StringgetDeploymentName()BambooOidPropertiesgetDeploymentOid()PermissionsPropertiesgetPermissions()inthashCode()java.lang.StringhumanReadableId()Entity type and id representation that is shown to human.@NotNull java.lang.StringhumanReadableType()Entity type that is shown to human.voidvalidate()
-
-
-
Constructor Detail
-
DeploymentPermissionsProperties
public DeploymentPermissionsProperties(@NotNull @NotNull java.lang.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 java.lang.String getDeploymentName()
-
getPermissions
public PermissionsProperties getPermissions()
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
humanReadableType
@NotNull public @NotNull java.lang.String humanReadableType()
Description copied from interface:RootEntityPropertiesEntity type that is shown to human.- Specified by:
humanReadableTypein interfaceRootEntityProperties
-
humanReadableId
public java.lang.String humanReadableId()
Description copied from interface:RootEntityPropertiesEntity type and id representation that is shown to human.- Specified by:
humanReadableIdin interfaceRootEntityProperties
-
-