public class WelcomeMessageUpgradeTask extends AbstractDeferredRunUpgradeTask implements DatabaseUpgradeTask
log
Constructor and Description |
---|
WelcomeMessageUpgradeTask(SettingsManager settingsManager,
WikiToStorageConverter wikiToStorageConverter,
WelcomeMessageService welcomeMessageService,
org.springframework.transaction.PlatformTransactionManager transactionManager,
I18NBeanFactory i18NBeanFactory) |
WelcomeMessageUpgradeTask(SettingsManager settingsManager,
XhtmlContent xhtmlContent,
WelcomeMessageService welcomeMessageService,
org.springframework.transaction.PlatformTransactionManager transactionManager,
I18NBeanFactory i18NBeanFactory)
Deprecated.
since 7.6
|
Modifier and Type | Method and Description |
---|---|
boolean |
breaksBackwardCompatibility()
This breaks backward compatibility with earlier versions of Confluence.
|
void |
doDeferredUpgrade()
Run the upgrade that was deferred by an earlier call to doUpgrade.
|
String |
getBuildNumber() |
boolean |
runOnSpaceImport()
This task affects only the site welcome message, so it is not required on space import.
|
doUpgrade, isUpgradeRequired, setUpgradeRequired
addAllErrors, addError, addError, getConstraint, getErrors, getName, getShortDescription, isDatabaseUpgrade, setBeanName, setBuildNumber, validate
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
doUpgrade, getConstraint, getErrors, validate
getName, getShortDescription, isDatabaseUpgrade
public WelcomeMessageUpgradeTask(SettingsManager settingsManager, WikiToStorageConverter wikiToStorageConverter, WelcomeMessageService welcomeMessageService, org.springframework.transaction.PlatformTransactionManager transactionManager, I18NBeanFactory i18NBeanFactory)
@Deprecated public WelcomeMessageUpgradeTask(SettingsManager settingsManager, XhtmlContent xhtmlContent, WelcomeMessageService welcomeMessageService, org.springframework.transaction.PlatformTransactionManager transactionManager, I18NBeanFactory i18NBeanFactory)
public String getBuildNumber()
getBuildNumber
in interface UpgradeTaskInfo
getBuildNumber
in class AbstractUpgradeTask
public void doDeferredUpgrade() throws Exception
DeferredUpgradeTask
doDeferredUpgrade
in interface DeferredUpgradeTask
Exception
public boolean runOnSpaceImport()
runOnSpaceImport
in interface BackupSupport
public boolean breaksBackwardCompatibility()
breaksBackwardCompatibility
in interface BackupSupport
Copyright © 2003–2020 Atlassian. All rights reserved.