Interface UpgradeService

All Known Implementing Classes:
DataImportUpgradeService, DefaultUpgradeService, FirstDataImportUpgradeService, IndexingUpgradeService, SetupUpgradeService

public interface UpgradeService
Service for managing Upgrades.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Checks if any upgrades are running.
    Run the upgrades pending upgrades.
  • Method Details

    • runUpgrades

      UpgradeResult runUpgrades()
      Run the upgrades pending upgrades.

      This is not linked to provisioning or import but when we just want to run the upgrades, e.g. via the REST endpoint. A re-index will be run after finishing the upgrades.

      Returns:
      the result of running the upgrades.
    • areUpgradesRunning

      boolean areUpgradesRunning()
      Checks if any upgrades are running.
      Returns:
      true if and only if upgrade job is running, false otherwise.