Class PlanPermissions
java.lang.Object
com.atlassian.bamboo.specs.api.builders.EntityPropertiesBuilder<T>
com.atlassian.bamboo.specs.api.builders.RootEntityPropertiesBuilder<PlanPermissionsProperties>
com.atlassian.bamboo.specs.api.builders.permission.PlanPermissions
Entity representing permissions for plans.
Note that this object needs to be published separately from associated
Plan.
Pre-existing permissions that are not defined in associated Permissions object are revoked when this object is published.-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionPlanPermissions(BambooKey projectKey, BambooKey planKey) PlanPermissions(BambooOid planOid) PlanPermissions(PlanIdentifier planIdentifier) -
Method Summary
Modifier and TypeMethodDescriptionAdds defaults permissions, ie.protected PlanPermissionsPropertiesbuild()@NotNull PlanIdentifierEntity type and id representation that is shown to human.Entity type that is shown to human.permissions(@NotNull Permissions permissions)
-
Field Details
-
TYPE
- See Also:
-
-
Constructor Details
-
PlanPermissions
-
PlanPermissions
-
PlanPermissions
-
-
Method Details
-
permissions
-
addDefaultPermissions
Adds defaults permissions, ie.PermissionType.VIEWfor logged-in and anonymous users. -
getPlanIdentifier
-
getPermissions
-
build
- Specified by:
buildin classEntityPropertiesBuilder<PlanPermissionsProperties>
-
humanReadableType
Description copied from class:RootEntityPropertiesBuilderEntity type that is shown to human.- Specified by:
humanReadableTypein classRootEntityPropertiesBuilder<PlanPermissionsProperties>
-
humanReadableId
Description copied from class:RootEntityPropertiesBuilderEntity type and id representation that is shown to human.- Specified by:
humanReadableIdin classRootEntityPropertiesBuilder<PlanPermissionsProperties>
-