com.atlassian.studio.bamboo.upgrade
Class UpgradeTo_v1

java.lang.Object
  extended by com.atlassian.studio.bamboo.upgrade.UpgradeTo_v1
All Implemented Interfaces:
com.atlassian.sal.api.upgrade.PluginUpgradeTask

public class UpgradeTo_v1
extends Object
implements com.atlassian.sal.api.upgrade.PluginUpgradeTask

First upgrade task. This is not all the setup that is done, some setup must be done later due to Bamboo's weird way of doing things. See SetupBamboo.


Constructor Summary
UpgradeTo_v1(com.atlassian.studio.host.common.ThemeProperties themeProperties, com.atlassian.applinks.spi.link.MutatingApplicationLinkService applicationLinkService, AdministrationConfigurationManager administrationConfigurationManager, com.atlassian.notifier.core.NotificationManager notificationManager, com.atlassian.studio.host.common.initialdata.InitialDataService initialDataService, com.atlassian.applinks.spi.util.TypeAccessor typeAccessor)
           
 
Method Summary
 Collection<com.atlassian.sal.api.message.Message> doUpgrade()
           
 int getBuildNumber()
           
 String getPluginKey()
           
 String getShortDescription()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UpgradeTo_v1

public UpgradeTo_v1(com.atlassian.studio.host.common.ThemeProperties themeProperties,
                    com.atlassian.applinks.spi.link.MutatingApplicationLinkService applicationLinkService,
                    AdministrationConfigurationManager administrationConfigurationManager,
                    com.atlassian.notifier.core.NotificationManager notificationManager,
                    com.atlassian.studio.host.common.initialdata.InitialDataService initialDataService,
                    com.atlassian.applinks.spi.util.TypeAccessor typeAccessor)
Method Detail

getBuildNumber

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

getShortDescription

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

doUpgrade

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

getPluginKey

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


Copyright © 2015 Atlassian Software Systems Pty Ltd. All rights reserved.