com.atlassian.jira.upgrade.tasks
Class UpgradeTask_Build6096

java.lang.Object
  extended by com.atlassian.jira.upgrade.AbstractUpgradeTask
      extended by com.atlassian.jira.upgrade.tasks.UpgradeTask_Build6039
          extended by com.atlassian.jira.upgrade.tasks.UpgradeTask_Build6096
All Implemented Interfaces:
UpgradeTask
Direct Known Subclasses:
UpgradeTask_Build6134

public class UpgradeTask_Build6096
extends UpgradeTask_Build6039

Upgrade task to convert username fields to lowercase in worklogs. These should have been covered in 6039 but were initially overlooked, so we have to retry them, here.

Since:
v6.0.1

Nested Class Summary
 
Nested classes/interfaces inherited from interface com.atlassian.jira.upgrade.UpgradeTask
UpgradeTask.Status
 
Constructor Summary
UpgradeTask_Build6096(EntityEngine entityEngine)
           
 
Method Summary
 void doUpgrade(boolean setupMode)
          Perform the upgrade.
 String getBuildNumber()
           
 String getShortDescription()
          A short (<50 chars) description of the upgrade action
protected  Map<String,String> toUsernameMap(SelectQuery<String> selectQuery)
           
 
Methods inherited from class com.atlassian.jira.upgrade.tasks.UpgradeTask_Build6039
doUserProjectRoleActorUpgrade, doWorklogUpgrade, isReindexRequired
 
Methods inherited from class com.atlassian.jira.upgrade.AbstractUpgradeTask
addError, addErrors, addErrors, convertToSchemaTableName, getApplicationProperties, getDatabaseConnection, getDatabaseType, getDelegator, getEntityEngine, getErrors, getI18nBean, getOfBizDelegator, getSchemaName, isMSSQL, isMYSQL, isORACLE, isPostgreSQL
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UpgradeTask_Build6096

public UpgradeTask_Build6096(EntityEngine entityEngine)
Method Detail

getBuildNumber

public String getBuildNumber()
Specified by:
getBuildNumber in interface UpgradeTask
Overrides:
getBuildNumber in class UpgradeTask_Build6039
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 UpgradeTask_Build6039

doUpgrade

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

Specified by:
doUpgrade in interface UpgradeTask
Overrides:
doUpgrade in class UpgradeTask_Build6039
Parameters:
setupMode - Indicating this upgrade task is running during set up.
Throws:
Exception

toUsernameMap

protected Map<String,String> toUsernameMap(SelectQuery<String> selectQuery)
Overrides:
toUsernameMap in class UpgradeTask_Build6039


Copyright © 2002-2014 Atlassian. All Rights Reserved.