Class DefaultPluginUpgradeFinalizationManager
java.lang.Object
com.atlassian.sal.core.upgrade.DefaultPluginUpgradeManager
com.atlassian.sal.confluence.lifecycle.DefaultPluginUpgradeFinalizationManager
- All Implemented Interfaces:
com.atlassian.sal.api.lifecycle.LifecycleAware
,com.atlassian.sal.api.upgrade.PluginUpgradeManager
,org.springframework.beans.factory.InitializingBean
public class DefaultPluginUpgradeFinalizationManager
extends com.atlassian.sal.core.upgrade.DefaultPluginUpgradeManager
An sub-class of SAL's
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.- Since:
- 7.14
- See Also:
-
Field Summary
Fields inherited from class com.atlassian.sal.core.upgrade.DefaultPluginUpgradeManager
LOCK_TIMEOUT_PROPERTY, LOCK_TIMEOUT_SECONDS
-
Constructor Summary
ConstructorDescriptionDefaultPluginUpgradeFinalizationManager
(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) -
Method Summary
Modifier and TypeMethodDescriptionvoid
List<com.atlassian.sal.api.message.Message>
List<com.atlassian.sal.api.message.Message>
upgradeInternal
(com.atlassian.plugin.Plugin plugin) Methods inherited from class com.atlassian.sal.core.upgrade.DefaultPluginUpgradeManager
afterPropertiesSet, getUpgradeTasks, onBind, onPluginEnabled, onStart, onStop, upgrade
-
Constructor Details
-
DefaultPluginUpgradeFinalizationManager
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)
-
-
Method Details
-
upgradeInternal
- Overrides:
upgradeInternal
in classcom.atlassian.sal.core.upgrade.DefaultPluginUpgradeManager
-
upgradeInternal
public List<com.atlassian.sal.api.message.Message> upgradeInternal(com.atlassian.plugin.Plugin plugin) - Overrides:
upgradeInternal
in classcom.atlassian.sal.core.upgrade.DefaultPluginUpgradeManager
-
onFinalizationRequested
-