com.atlassian.studio.confluence.upgrade
Class UT032SetGlobalDescriptionObject
java.lang.Object
com.atlassian.studio.confluence.upgrade.UT032SetGlobalDescriptionObject
- All Implemented Interfaces:
- com.atlassian.sal.api.upgrade.PluginUpgradeTask
public class UT032SetGlobalDescriptionObject
- extends 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.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UT032SetGlobalDescriptionObject
public UT032SetGlobalDescriptionObject(SettingsManager settingsManager)
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 © 2003–2015 Atlassian. All rights reserved.