Interface DeferredUpgradeTask

All Superinterfaces:
UpgradeTask, UpgradeTaskInfo
All Known Implementing Classes:
AbstractDeferredRunUpgradeTask, AbstractIndexContentUpgradeTask, AbstractPageTemplateMigrationUpgradeTask, BandanaTokenCleanupUpgradeTask, BandanaXStreamValueUpgradeTask, SplitJournalUpgradeTask, WikiToXhtmlMigrationUpgradeTask

public interface DeferredUpgradeTask extends UpgradeTask
An upgrade task that has a property indicating that it's run should be deferred until some later time.
  • Method Details

    • isUpgradeRequired

      boolean isUpgradeRequired()
      Returns:
      true if this task requires to be run
    • setUpgradeRequired

      void setUpgradeRequired(boolean required)
      Parameters:
      required - if true then this upgrade task needs to be run.
    • doDeferredUpgrade

      void doDeferredUpgrade() throws Exception
      Run the upgrade that was deferred by an earlier call to doUpgrade.
      Throws:
      Exception