com.atlassian.jira.upgrade.tasks
Class UpgradeTask_Build155
java.lang.Object
com.atlassian.jira.upgrade.AbstractUpgradeTask
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.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UpgradeTask_Build155
public UpgradeTask_Build155(WorkflowManager workflowManager)
getBuildNumber
public 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 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 Exception
- Description copied from interface:
UpgradeTask
- Perform the upgrade.
- Specified by:
doUpgrade
in interface UpgradeTask
- Specified by:
doUpgrade
in class AbstractUpgradeTask
- Throws:
Exception
upgradeWorkflow
boolean upgradeWorkflow(JiraWorkflow workflow)
throws WorkflowException
- Throws:
WorkflowException
saveWorkflow
void saveWorkflow(JiraWorkflow workflow)
upgradeRestriction
boolean upgradeRestriction(com.opensymphony.workflow.loader.RestrictionDescriptor restriction,
boolean isSystemWorkflow)
upgradeConditionsDescriptor
boolean upgradeConditionsDescriptor(com.opensymphony.workflow.loader.ConditionsDescriptor conditionsDescriptor,
boolean isSystemWorkflow)
upgradeConditionDescriptor
boolean upgradeConditionDescriptor(com.opensymphony.workflow.loader.ConditionDescriptor descriptor,
boolean isSystemWorkflow)
Copyright © 2002-2007 Atlassian. All Rights Reserved.