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 Details

    • PluginFrameworkDependentUpgrader

      public PluginFrameworkDependentUpgrader()
  • Method Details

    • startup

      public void startup(com.atlassian.config.lifecycle.LifecycleContext context) throws Exception
      Specified by:
      startup in interface com.atlassian.config.lifecycle.LifecycleItem
      Throws:
      Exception
    • shutdown

      public void shutdown(com.atlassian.config.lifecycle.LifecycleContext context) throws Exception
      Specified by:
      shutdown in interface com.atlassian.config.lifecycle.LifecycleItem
      Throws:
      Exception
    • setUpgradeManager

      public void setUpgradeManager(DefaultUpgradeManager upgradeManager)
    • setUpgradeGate

      public void setUpgradeGate(UpgradeGate upgradeGate)