Package com.atlassian.jira.upgrade
Interface UpgradeProvider
- All Known Implementing Classes:
XmlFileUpgradeProvider
public interface UpgradeProvider
Component used for providing JIRA upgrade tasks.
-
Method Summary
Modifier and TypeMethodDescription<T> Collection<T>Constructs JIRA upgrade tasks.<T> Collection<T>getUpgradeTasksBoundByBuild(long buildNumberUpperBound) Constructs all JIRA upgrade tasks for build numbers less than or equal to some limit.
-
Method Details
-
getUpgradeTasks
Constructs JIRA upgrade tasks.- Type Parameters:
T- is the type of the Upgrade Task as we have different types for these:UpgradeTaskandcom.atlassian.upgrade.api.UpgradeTask.- Returns:
- the collection of the upgrade task.
-
getUpgradeTasksBoundByBuild
Constructs all JIRA upgrade tasks for build numbers less than or equal to some limit. This allows us to only run upgrade tasks up to a certain point in the database's history.- Type Parameters:
T- is the type of the Upgrade Task as we have different types for these:UpgradeTaskandcom.atlassian.upgrade.api.UpgradeTask.- Returns:
- the collection of the upgrade task.
-