Class 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 Detail

      • PluginFrameworkDependentUpgrader

        public PluginFrameworkDependentUpgrader()
    • Method Detail

      • 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
      • setUpgradeGate

        public void setUpgradeGate​(UpgradeGate upgradeGate)