public class SetupUpgradeService extends Object implements UpgradeService
Constructor and Description |
---|
SetupUpgradeService(LoggingUpgradeService loggingUpgradeService) |
Modifier and Type | Method and Description |
---|---|
boolean |
areUpgradesRunning()
Checks if any upgrades are running.
|
UpgradeResult |
runUpgrades()
Run the upgrades pending upgrades.
|
public SetupUpgradeService(LoggingUpgradeService loggingUpgradeService)
public UpgradeResult runUpgrades()
UpgradeService
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.
runUpgrades
in interface UpgradeService
public boolean areUpgradesRunning()
UpgradeService
areUpgradesRunning
in interface UpgradeService
Copyright © 2002-2022 Atlassian. All Rights Reserved.