Package com.atlassian.confluence.upgrade
Class PluginFrameworkDependentUpgrader
- java.lang.Object
-
- com.atlassian.confluence.upgrade.PluginFrameworkDependentUpgrader
-
- All Implemented Interfaces:
com.atlassian.config.lifecycle.LifecycleItem
public class PluginFrameworkDependentUpgrader extends Object implements com.atlassian.config.lifecycle.LifecycleItem
Run the upgrade tasks that require that PluginFramework to be available. This LifecycleItem is responsible for pausing start up on all other cluster nodes that aren't actually performing an upgrade so that none of the other nodes complete start up (and start touching data).
-
-
Constructor Summary
Constructors Constructor Description PluginFrameworkDependentUpgrader()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidsetUpgradeGate(UpgradeGate upgradeGate)voidsetUpgradeManager(DefaultUpgradeManager upgradeManager)voidshutdown(com.atlassian.config.lifecycle.LifecycleContext context)voidstartup(com.atlassian.config.lifecycle.LifecycleContext context)
-
-
-
Method Detail
-
startup
public void startup(com.atlassian.config.lifecycle.LifecycleContext context) throws Exception- Specified by:
startupin interfacecom.atlassian.config.lifecycle.LifecycleItem- Throws:
Exception
-
shutdown
public void shutdown(com.atlassian.config.lifecycle.LifecycleContext context) throws Exception- Specified by:
shutdownin interfacecom.atlassian.config.lifecycle.LifecycleItem- Throws:
Exception
-
setUpgradeManager
public void setUpgradeManager(DefaultUpgradeManager upgradeManager)
-
setUpgradeGate
public void setUpgradeGate(UpgradeGate upgradeGate)
-
-