com.atlassian.greenhopper.upgrade
Class GhUpgradeTask001

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

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

Upgrades all gadget userPrefs from projectid parameter to selectedProjectId (which in the agile gadget world can now either take a project or a filter name. project- is the value in case of a project.

Version:
GreenHopper ??? (pre 4.0 probably)

Constructor Summary
GhUpgradeTask001(com.atlassian.jira.propertyset.JiraPropertySetFactory propertySetFactory)
           
 
Method Summary
 java.util.Collection<com.atlassian.sal.api.message.Message> doUpgrade()
           
 int getBuildNumber()
           
 java.lang.String getModuleKey()
           
 java.lang.String getPluginKey()
           
 java.lang.String getShortDescription()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GhUpgradeTask001

public GhUpgradeTask001(com.atlassian.jira.propertyset.JiraPropertySetFactory propertySetFactory)
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

getModuleKey

public java.lang.String getModuleKey()


Copyright © 2007-2011 Atlassian. All Rights Reserved.