public interface UpgradeManager
Modifier and Type | Method and Description |
---|---|
List<String> |
doUpgrade(boolean partOfSetup)
Method to fire off the upgrade process
|
String |
getBuildNumber()
This gets the pre-build number
|
boolean |
needUpgrade()
Determines whether we need to run the upgrade or not.
|
boolean needUpgrade()
boolean
whether the build was successful or not@NotNull List<String> doUpgrade(boolean partOfSetup) throws Exception
partOfSetup
- - whether or not the upgrade is being run as part of the setupCollection
a string collection of error messages. Collection not empty
denotes error occurred on upgradeException
@NotNull String getBuildNumber()
Copyright © 2017 Atlassian Software Systems Pty Ltd. All rights reserved.