Class AbstractGhUpgradeTask

java.lang.Object
com.atlassian.greenhopper.upgrade.AbstractGhUpgradeTask
All Implemented Interfaces:
com.atlassian.sal.api.upgrade.PluginUpgradeTask
Direct Known Subclasses:
GhUpgradeTask046, GhUpgradeTask047, GhUpgradeTask048, GhUpgradeTask049, GhUpgradeTask050, GhUpgradeTask051, GhUpgradeTask052, GhUpgradeTask053

public abstract class AbstractGhUpgradeTask extends Object implements com.atlassian.sal.api.upgrade.PluginUpgradeTask
  • Field Details

  • Constructor Details

    • AbstractGhUpgradeTask

      public AbstractGhUpgradeTask()
  • Method Details

    • doUpgrade

      public final Collection<com.atlassian.sal.api.message.Message> doUpgrade() throws Exception
      Specified by:
      doUpgrade in interface com.atlassian.sal.api.upgrade.PluginUpgradeTask
      Throws:
      Exception
    • getPluginKey

      public String getPluginKey()
      Specified by:
      getPluginKey in interface com.atlassian.sal.api.upgrade.PluginUpgradeTask
    • isReindexAllowed

      protected boolean isReindexAllowed()
    • performUpgrade

      protected abstract void performUpgrade() throws Exception
      Throws:
      Exception