public class WelcomeMessageUpgradeTask extends AbstractDeferredRunUpgradeTask implements DatabaseUpgradeTask
log
Constructor and Description |
---|
WelcomeMessageUpgradeTask(SettingsManager settingsManager,
XhtmlContent xhtmlContent,
WelcomeMessageService welcomeMessageService,
org.springframework.transaction.PlatformTransactionManager transactionManager,
I18NBeanFactory i18NBeanFactory) |
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, 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–2015 Atlassian. All rights reserved.