com.atlassian.jira.upgrade.tasks
Class UpgradeTask_Build183

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

public class UpgradeTask_Build183
extends AbstractUpgradeTask

This upgrade task is obsolete and replaced by UpgradeTask_Build187. See JRA-11956 for more details.

The doUpgrade() no longer does anything.

Previously it: Checks if the jira.trackback.exclude.pattern is Null. If it is, it is set to empty string. This prevents problems with velocity template generation. (When constructing a velocity context, the Velocity Engine has problems reading the properties if there's a null property). Also see JRA-11695 and JRA-8478.


Nested Class Summary
 
Nested classes/interfaces inherited from interface com.atlassian.jira.upgrade.UpgradeTask
UpgradeTask.Status
 
Constructor Summary
UpgradeTask_Build183()
           
 
Method Summary
 void doUpgrade()
          This upgrade task no longer does anything as it's superceded by UpgradeTask_Build187.
 java.lang.String getBuildNumber()
          Returns 183
 java.lang.String getShortDescription()
          Returns a short description of this upgrade task
 
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_Build183

public UpgradeTask_Build183()
Method Detail

getBuildNumber

public java.lang.String getBuildNumber()
Returns 183

Specified by:
getBuildNumber in interface UpgradeTask
Specified by:
getBuildNumber in class AbstractUpgradeTask
Returns:
183

doUpgrade

public void doUpgrade()
This upgrade task no longer does anything as it's superceded by UpgradeTask_Build187. Sets the "jira.trackback.exclude.pattern" to empty string if it is null.

Specified by:
doUpgrade in interface UpgradeTask
Specified by:
doUpgrade in class AbstractUpgradeTask

getShortDescription

public java.lang.String getShortDescription()
Returns a short description of this upgrade task

Specified by:
getShortDescription in interface UpgradeTask
Overrides:
getShortDescription in class AbstractUpgradeTask
Returns:
a short description string


Copyright © 2002-2011 Atlassian. All Rights Reserved.