com.atlassian.greenhopper.upgrade
Class GhUpgradeTask004

java.lang.Object
  extended by com.atlassian.greenhopper.upgrade.GhUpgradeTask004
All Implemented Interfaces:
com.atlassian.sal.api.upgrade.PluginUpgradeTask

public class GhUpgradeTask004
extends java.lang.Object
implements com.atlassian.sal.api.upgrade.PluginUpgradeTask

Upgrades layout keys in the project configuration to not contain the project id. Part of this upgrade was for 4.3, the corner field fix introduced in 5.5

Version:
GreenHopper 4.3, 5.5

Constructor Summary
GhUpgradeTask004()
           
 
Method Summary
 java.util.Collection<com.atlassian.sal.api.message.Message> doUpgrade()
           
 int getBuildNumber()
           
 java.lang.String getPluginKey()
           
 java.lang.String getShortDescription()
           
 void removeProjectIdInLayoutsProperties()
          Upgrade task for code below (4.3 fix).
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GhUpgradeTask004

public GhUpgradeTask004()
Method Detail

getBuildNumber

public int getBuildNumber()
Specified by:
getBuildNumber in interface com.atlassian.sal.api.upgrade.PluginUpgradeTask

getShortDescription

public java.lang.String getShortDescription()
Specified by:
getShortDescription in interface com.atlassian.sal.api.upgrade.PluginUpgradeTask

doUpgrade

public java.util.Collection<com.atlassian.sal.api.message.Message> doUpgrade()
                                                                      throws java.lang.Exception
Specified by:
doUpgrade in interface com.atlassian.sal.api.upgrade.PluginUpgradeTask
Throws:
java.lang.Exception

getPluginKey

public java.lang.String getPluginKey()
Specified by:
getPluginKey in interface com.atlassian.sal.api.upgrade.PluginUpgradeTask

removeProjectIdInLayoutsProperties

public void removeProjectIdInLayoutsProperties()
Upgrade task for code below (4.3 fix). Here we also migrate the corner field to remove the project in there, makes no sense as already stored in the project configuration!



Copyright © 2007-2012 Atlassian. All Rights Reserved.