public class DefaultPluginUpgradeFinalizationManager
extends com.atlassian.sal.core.upgrade.DefaultPluginUpgradeManager
DefaultPluginUpgradeManager
that specifically manages the lifecycle of
PluginUpgradeFinalizationTask
s in the context of ZDU,
i.e. defers the execution of those tasks while in ZDU mode.PluginUpgradeFinalizationTask
Constructor and Description |
---|
DefaultPluginUpgradeFinalizationManager(List<com.atlassian.sal.api.upgrade.PluginUpgradeTask> upgradeTasks,
com.atlassian.sal.api.transaction.TransactionTemplate transactionTemplate,
com.atlassian.plugin.PluginAccessor pluginAccessor,
com.atlassian.sal.api.pluginsettings.PluginSettingsFactory pluginSettingsFactory,
com.atlassian.plugin.event.PluginEventManager pluginEventManager,
com.atlassian.beehive.ClusterLockService clusterLockService,
ZduManager zduManager) |
Modifier and Type | Method and Description |
---|---|
void |
onFinalizationRequested(ZduFinalizationRequestEvent event) |
List<com.atlassian.sal.api.message.Message> |
upgradeInternal() |
List<com.atlassian.sal.api.message.Message> |
upgradeInternal(com.atlassian.plugin.Plugin plugin) |
public DefaultPluginUpgradeFinalizationManager(List<com.atlassian.sal.api.upgrade.PluginUpgradeTask> upgradeTasks, com.atlassian.sal.api.transaction.TransactionTemplate transactionTemplate, com.atlassian.plugin.PluginAccessor pluginAccessor, com.atlassian.sal.api.pluginsettings.PluginSettingsFactory pluginSettingsFactory, com.atlassian.plugin.event.PluginEventManager pluginEventManager, com.atlassian.beehive.ClusterLockService clusterLockService, ZduManager zduManager)
public List<com.atlassian.sal.api.message.Message> upgradeInternal()
upgradeInternal
in class com.atlassian.sal.core.upgrade.DefaultPluginUpgradeManager
public List<com.atlassian.sal.api.message.Message> upgradeInternal(com.atlassian.plugin.Plugin plugin)
upgradeInternal
in class com.atlassian.sal.core.upgrade.DefaultPluginUpgradeManager
public void onFinalizationRequested(ZduFinalizationRequestEvent event)
Copyright © 2003–2022 Atlassian. All rights reserved.
View cookie preferences