public final class PlanPermissions extends RootEntityPropertiesBuilder<PlanPermissionsProperties>
Plan.
Pre-existing permissions that are not defined in associated Permissions object are revoked when this object is published.| Constructor and Description |
|---|
PlanPermissions(BambooKey projectKey,
BambooKey planKey) |
PlanPermissions(BambooOid planOid) |
PlanPermissions(PlanIdentifier planIdentifier) |
| Modifier and Type | Method and Description |
|---|---|
PlanPermissions |
addDefaultPermissions()
Adds defaults permissions, ie.
|
protected PlanPermissionsProperties |
build() |
Permissions |
getPermissions() |
@NotNull PlanIdentifier |
getPlanIdentifier() |
String |
humanReadableId()
Entity type and id representation that is shown to human.
|
String |
humanReadableType()
Entity type that is shown to human.
|
PlanPermissions |
permissions(@NotNull Permissions permissions) |
public static final String TYPE
public PlanPermissions(BambooOid planOid)
public PlanPermissions(PlanIdentifier planIdentifier)
public PlanPermissions permissions(@NotNull @NotNull Permissions permissions)
public PlanPermissions addDefaultPermissions()
PermissionType.VIEW for logged-in and anonymous users.@NotNull public @NotNull PlanIdentifier getPlanIdentifier()
public Permissions getPermissions()
protected PlanPermissionsProperties build()
build in class EntityPropertiesBuilder<PlanPermissionsProperties>public String humanReadableType()
RootEntityPropertiesBuilderhumanReadableType in class RootEntityPropertiesBuilder<PlanPermissionsProperties>public String humanReadableId()
RootEntityPropertiesBuilderhumanReadableId in class RootEntityPropertiesBuilder<PlanPermissionsProperties>Copyright © 2024 Atlassian Software Systems Pty Ltd. All rights reserved.