Class PlanPermissionsProperties
- java.lang.Object
-
- com.atlassian.bamboo.specs.api.model.permission.PlanPermissionsProperties
-
- All Implemented Interfaces:
EntityProperties,RootEntityProperties
@Immutable public class PlanPermissionsProperties extends Object implements RootEntityProperties
-
-
Constructor Summary
Constructors Constructor Description PlanPermissionsProperties(@NotNull PlanIdentifier planIdentifier, @NotNull Permissions permissions)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)PermissionsPropertiesgetPermissions()PlanIdentifierPropertiesgetPlanIdentifier()inthashCode()StringhumanReadableId()Entity type and id representation that is shown to human.@NotNull StringhumanReadableType()Entity type that is shown to human.voidvalidate()
-
-
-
Constructor Detail
-
PlanPermissionsProperties
public PlanPermissionsProperties(@NotNull @NotNull PlanIdentifier planIdentifier, @NotNull @NotNull Permissions permissions) throws PropertiesValidationException- Throws:
PropertiesValidationException
-
-
Method Detail
-
validate
public void validate() throws PropertiesValidationException- Specified by:
validatein interfaceEntityProperties- Throws:
PropertiesValidationException
-
getPlanIdentifier
public PlanIdentifierProperties getPlanIdentifier()
-
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
-
-