com.atlassian.studio.confluence.upgrade
Class UT032SetGlobalDescriptionObject

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

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

Sets a GlobalDescription object if one does not exist. This is needed for Unicorn instances that were provisioned without this upgrade task. Once all Unicorn instances have been upgraded to a version with this upgrade task, it can be removed (providing https://sdog.jira.com/browse/JSTDEV-444 has been implemented). This is only needed because ConfluenceInitialData was missing this step.


Constructor Summary
UT032SetGlobalDescriptionObject(SettingsManager settingsManager)
           
 
Method Summary
 java.util.Collection<com.atlassian.sal.api.message.Message> doUpgrade()
           
 int getBuildNumber()
           
 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

UT032SetGlobalDescriptionObject

public UT032SetGlobalDescriptionObject(SettingsManager settingsManager)
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


Copyright © 2003-2014 Atlassian. All Rights Reserved.