public class

DowngradeWorker

extends Object
java.lang.Object
   ↳ com.atlassian.jira.bc.dataimport.DowngradeWorker

Class Overview

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.

Summary

Nested Classes
enum DowngradeWorker.Mode Downgrade mode. 
Public Constructors
DowngradeWorker(BuildUtilsInfo buildUtilsInfo, DbConnectionManager dbConnectionManager, OfBizDelegator ofBizDelegator, ApplicationProperties applicationProperties)
Public Methods
boolean canDowngrade()
void downgrade(DowngradeWorker.Mode downgradeMode)
Called to perform special downgrade tasks.
void writeNewBuildNumbers()
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public DowngradeWorker (BuildUtilsInfo buildUtilsInfo, DbConnectionManager dbConnectionManager, OfBizDelegator ofBizDelegator, ApplicationProperties applicationProperties)

Public Methods

public boolean canDowngrade ()

public void downgrade (DowngradeWorker.Mode downgradeMode)

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.

public void writeNewBuildNumbers ()