com.atlassian.jira.upgrade.tasks
Class UpgradeTask_Build155

java.lang.Object
  extended by com.atlassian.jira.upgrade.AbstractUpgradeTask
      extended by com.atlassian.jira.upgrade.tasks.UpgradeTask_Build155
All Implemented Interfaces:
UpgradeTask

public class UpgradeTask_Build155
extends AbstractUpgradeTask

Normally, each condition gets passed parameters. Eg. the SubTaskBlockingCondition gets passed the parameters of which statuses to use when preventing a transition.

In JIRA 3.6 the Workflow Editor added other, irrelevent parameters to the condition ('nested' and 'count'). These were erroneously being passed in the URL. By luck - this didn't cause any problems with the condition.

This upgrade task removes these erroneous parameters, so that they don't cause any problems in the future.


Nested Class Summary
 
Nested classes/interfaces inherited from interface com.atlassian.jira.upgrade.UpgradeTask
UpgradeTask.Status
 
Constructor Summary
UpgradeTask_Build155(WorkflowManager workflowManager)
           
 
Method Summary
 void doUpgrade()
          Perform the upgrade.
 java.lang.String getBuildNumber()
           
 java.lang.String getShortDescription()
          A short (<50 chars) description of the upgrade action
 
Methods inherited from class com.atlassian.jira.upgrade.AbstractUpgradeTask
addError, addErrors, addErrors, getApplicationProperties, getDelegator, getErrors, getI18nBean
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UpgradeTask_Build155

public UpgradeTask_Build155(WorkflowManager workflowManager)
Method Detail

getBuildNumber

public java.lang.String getBuildNumber()
Specified by:
getBuildNumber in interface UpgradeTask
Specified by:
getBuildNumber in class AbstractUpgradeTask
Returns:
The build number that this upgrade is applicable to

getShortDescription

public java.lang.String getShortDescription()
Description copied from interface: UpgradeTask
A short (<50 chars) description of the upgrade action

Specified by:
getShortDescription in interface UpgradeTask
Overrides:
getShortDescription in class AbstractUpgradeTask

doUpgrade

public void doUpgrade()
               throws java.lang.Exception
Description copied from interface: UpgradeTask
Perform the upgrade.

Specified by:
doUpgrade in interface UpgradeTask
Specified by:
doUpgrade in class AbstractUpgradeTask
Throws:
java.lang.Exception


Copyright © 2002-2010 Atlassian. All Rights Reserved.