Package com.atlassian.jira.upgrade
Class XmlFileUpgradeProvider
java.lang.Object
com.atlassian.jira.upgrade.XmlFileUpgradeProvider
- All Implemented Interfaces:
UpgradeProvider
-
Constructor Summary
Constructors -
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.
-
Constructor Details
-
XmlFileUpgradeProvider
public XmlFileUpgradeProvider()
-
-
Method Details
-
getUpgradeTasks
Description copied from interface:UpgradeProviderConstructs JIRA upgrade tasks.- Specified by:
getUpgradeTasksin interfaceUpgradeProvider- 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
Description copied from interface:UpgradeProviderConstructs 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.- Specified by:
getUpgradeTasksBoundByBuildin interfaceUpgradeProvider- 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.
-