@PublicSpi
public interface UpgradeTask
| Modifier and Type | Method and Description |
|---|---|
int |
getBuildNumber()
The build number which uniquely identifies the upgrade task.
|
String |
getShortDescription()
Description used to give an overview for this task to be used by support or other debugging needs.
|
void |
runUpgrade(UpgradeContext upgradeContext)
Complete the UpgradeTask.
|
int getBuildNumber()
When the upgrade task is completed the current build number for the plugin or host application is set to this value. When the downgrade is completed the current build number for the plugin or host application is set to the build number preceding this one.
String getShortDescription()
void runUpgrade(UpgradeContext upgradeContext)
upgradeContext - includes information about the current upgradeCopyright © 2017 Atlassian. All rights reserved.