public interface UpgradeManager
UpgradeTask
's and are associated to a given build number.Modifier and Type | Method and Description |
---|---|
Collection<String> |
doUpgrade()
Method to fire off the upgrade process
|
int |
getDataBuildNumber()
This gets the pre-build number.
|
List<UpgradeTask> |
getRequiredUpgrades() |
boolean |
needUpgrade()
Determines whether we need to run the upgrade or not.
|
boolean needUpgrade()
boolean
whether the build was successful or notList<UpgradeTask> getRequiredUpgrades()
Collection<String> doUpgrade() throws Exception
Collection
a string collection of error messages. Collection not empty
denotes error occurred on upgradeException
- error occurred during upgrade.int getDataBuildNumber()
Copyright © 2021 Atlassian. All rights reserved.