Class AbstractGrantNewPermissionsUpgradeTask
java.lang.Object
com.atlassian.bamboo.upgrade.AbstractUpgradeTask
com.atlassian.bamboo.upgrade.AbstractUpgradeTaskWithConcurrentExecution
com.atlassian.bamboo.upgrade.tasks.AbstractGrantNewPermissionsUpgradeTask
- All Implemented Interfaces:
UpgradeTask
- Direct Known Subclasses:
UpgradeTask100104GrantCreateBranchPermission
,UpgradeTask100204AddNewPermissionsToDeploymentProjects
,UpgradeTask70301GrantViewConfigurationPermission
,UpgradeTask90402GrantApproveReleasePermission
public abstract class AbstractGrantNewPermissionsUpgradeTask
extends AbstractUpgradeTaskWithConcurrentExecution
-
Field Summary
Fields inherited from class com.atlassian.bamboo.upgrade.AbstractUpgradeTaskWithConcurrentExecution
pageSize
Fields inherited from class com.atlassian.bamboo.upgrade.AbstractUpgradeTask
errors, hibernateConfig, shortDescription
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
doUpgrade
(@NotNull Object aclEntity, @NotNull AclDao aclDao, @NotNull BambooAclUpdateHelper aclUpdateHelper, @NotNull org.apache.logging.log4j.Logger log, @NotNull Set<BambooPermission> permissionsRequiringNewPermission, @NotNull Set<BambooPermission> newPermissions) Run the upgrade for a single entity.Methods inherited from class com.atlassian.bamboo.upgrade.AbstractUpgradeTaskWithConcurrentExecution
doUpgradeWithExecutorContext, notifyProgress, schedule, startTrackingProgress
Methods inherited from class com.atlassian.bamboo.upgrade.AbstractUpgradeTask
getBuildNumber, getErrors, getShortDescription
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.atlassian.bamboo.upgrade.UpgradeTask
doUpgrade
-
Constructor Details
-
AbstractGrantNewPermissionsUpgradeTask
-
-
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> permissionsRequiringNewPermission, @NotNull @NotNull Set<BambooPermission> newPermissions) Run the upgrade for a single entity.- Parameters:
aclEntity
- entity for which to upgrade ACLs
-