@PublicSpi
public interface UpgradeTaskFactory
| Modifier and Type | Method and Description |
|---|---|
Collection<UpgradeTask> |
getAllUpgradeTasks()
Get all of the upgrade tasks for this given plugin/host app.
|
int |
getMinimumBuildNumber()
Get the minimum build number for a plugins data that can be upgraded from.
|
String |
getProductDisplayName()
Returns the display name for this plugin / host app.
|
String |
getProductMinimumVersion()
Returns the minimum upgradeable version for this plugin / host app.
|
String getProductDisplayName()
e.g "JIRA Portfolio"
This will be used to construct the user facing error message if the minimum build number check fails.
getProductMinimumVersion()String getProductMinimumVersion()
e.g "7.0.0"
This will be used to construct the user facing error message if the minimum build number check fails.
getProductMinimumVersion()int getMinimumBuildNumber()
For example, if the plugin data is at version 2 but the minimum build number is 4, it cannot be run. However, if the plugin data is at version 6 than the upgrade can be completed.
UpgradeTaskFactory@Nonnull Collection<UpgradeTask> getAllUpgradeTasks()
Copyright © 2017 Atlassian. All rights reserved.