Package com.atlassian.jira.upgrade
Class FirstDataImportUpgradeService
java.lang.Object
com.atlassian.jira.upgrade.FirstDataImportUpgradeService
- All Implemented Interfaces:
UpgradeService
Upgrade service for the first data import. It runs upgrades without triggering Lucene indexing and also
informs upgrade tasks that they are run on clean database.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
Checks if any upgrades are running.Run the upgrades pending upgrades.
-
Constructor Details
-
FirstDataImportUpgradeService
-
-
Method Details
-
runUpgrades
Description copied from interface:UpgradeService
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.
- Specified by:
runUpgrades
in interfaceUpgradeService
- Returns:
- the result of running the upgrades.
-
areUpgradesRunning
public boolean areUpgradesRunning()Description copied from interface:UpgradeService
Checks if any upgrades are running.- Specified by:
areUpgradesRunning
in interfaceUpgradeService
- Returns:
- true if and only if upgrade job is running, false otherwise.
-