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 void
setUpgradeGate(UpgradeGate upgradeGate)
void
setUpgradeManager(DefaultUpgradeManager upgradeManager)
void
shutdown(com.atlassian.config.lifecycle.LifecycleContext context)
void
startup(com.atlassian.config.lifecycle.LifecycleContext context)
-
-
-
Method Detail
-
startup
public void startup(com.atlassian.config.lifecycle.LifecycleContext context) throws Exception
- Specified by:
startup
in interfacecom.atlassian.config.lifecycle.LifecycleItem
- Throws:
Exception
-
shutdown
public void shutdown(com.atlassian.config.lifecycle.LifecycleContext context) throws Exception
- Specified by:
shutdown
in interfacecom.atlassian.config.lifecycle.LifecycleItem
- Throws:
Exception
-
setUpgradeManager
public void setUpgradeManager(DefaultUpgradeManager upgradeManager)
-
setUpgradeGate
public void setUpgradeGate(UpgradeGate upgradeGate)
-
-