com.atlassian.jira.action.admin
Class OfBizDowngradeHandler

java.lang.Object
  extended by com.atlassian.jira.action.admin.OfBizDowngradeHandler

public class OfBizDowngradeHandler
extends Object

Serves one purpose in life: to downgrade upgrade tasks that are destructive.

The general rule is that downgrade() should always be a no-op on master. If an upgrade task is introduced on master that requires special treatment in a downgrade, put that logic in this class on the branch, and delete it as part of the merge to master. You will also need to change the minimum downgrade version that master has in pom.xml and jira-distribution/pom.xml to specify the stable release that the downgrade step is first going into. Please also give the versions for which the downgrade matters, what is getting downgraded, and why.

Since:
v5.2.8

Constructor Summary
OfBizDowngradeHandler(OfBizDelegator ofBizDelegator)
           
 
Method Summary
 void downgrade()
          Called to perform special downgrade tasks.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OfBizDowngradeHandler

public OfBizDowngradeHandler(OfBizDelegator ofBizDelegator)
Method Detail

downgrade

public void 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.



Copyright © 2002-2014 Atlassian. All Rights Reserved.