Class AbstractGrantNewPermissionUpgradeTask

java.lang.Object
com.atlassian.bamboo.upgrade.AbstractUpgradeTask
com.atlassian.bamboo.upgrade.tasks.AbstractGrantNewPermissionUpgradeTask
All Implemented Interfaces:
UpgradeTask
Direct Known Subclasses:
UpgradeTask100104GrantCreateBranchPermission, UpgradeTask70301GrantViewConfigurationPermission, UpgradeTask90402GrantApproveReleasePermission

public abstract class AbstractGrantNewPermissionUpgradeTask extends AbstractUpgradeTask
  • Constructor Details

    • AbstractGrantNewPermissionUpgradeTask

      public AbstractGrantNewPermissionUpgradeTask(String name)
  • Method Details

    • doUpgrade

      protected void doUpgrade(@NotNull @NotNull Object aclEntity, @NotNull @NotNull AclDao aclDao, @NotNull @NotNull BambooAclUpdateHelper aclUpdateHelper, @NotNull @NotNull org.apache.logging.log4j.Logger log, @NotNull @NotNull Set<BambooPermission> permissionRequiringNewPermission, @NotNull @NotNull BambooPermission newPermission)
      Run the upgrade for a single entity.
      Parameters:
      aclEntity - entity for which to upgrade ACLs