Package com.atlassian.jira.bc.dataimport
Class DowngradeWorker
java.lang.Object
com.atlassian.jira.bc.dataimport.DowngradeWorker
This class will do the actual work of finding and running required downgrade tasks.
Downgrade tasks are defined in downgrades.xml and each Upgrade Task must declare whether its needs a downgrade, or is a no-op.
- Since:
- v6.4.6
- See Also:
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionDowngradeWorker(BuildUtilsInfo buildUtilsInfo, DbConnectionManager dbConnectionManager, OfBizDelegator ofBizDelegator, ApplicationProperties applicationProperties, UpgradeVersionHistoryManager upgradeVersionHistoryManager) -
Method Summary
Modifier and TypeMethodDescriptionbooleanvoiddowngrade(DowngradeWorker.Mode downgradeMode) Called to perform special downgrade tasks.void
-
Constructor Details
-
DowngradeWorker
public DowngradeWorker(BuildUtilsInfo buildUtilsInfo, DbConnectionManager dbConnectionManager, OfBizDelegator ofBizDelegator, ApplicationProperties applicationProperties, UpgradeVersionHistoryManager upgradeVersionHistoryManager)
-
-
Method Details
-
downgrade
Called to perform special downgrade tasks.This method is only invoked when we have identified that you are importing data from a newer version of JIRA, presumably because an OnDemand customer has exported JIRA data to import into their on premise instance.
- Throws:
DowngradeException
-
writeNewBuildNumbers
public void writeNewBuildNumbers() -
canDowngrade
- Throws:
DowngradeException
-