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
-
Field Summary
Fields inherited from class com.atlassian.bamboo.upgrade.AbstractUpgradeTask
errors
-
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> permissionRequiringNewPermission, @NotNull BambooPermission newPermission) Run the upgrade for a single entity.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
-
AbstractGrantNewPermissionUpgradeTask
-
-
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
-