public class DefaultSpaceContentToPageTemplateUpgradeTask extends AbstractDeferredRunUpgradeTask implements DatabaseUpgradeTask
log
Constructor and Description |
---|
DefaultSpaceContentToPageTemplateUpgradeTask(SettingsManager settingsManager,
XhtmlContent xhtmlContent,
SystemTemplateManager systemTemplateManager,
org.springframework.transaction.PlatformTransactionManager transactionManager) |
Modifier and Type | Method and Description |
---|---|
boolean |
breaksBackwardCompatibility()
After downgrading from above 5.0 the default space content will be lost, but that should be acceptable.
|
void |
doDeferredUpgrade()
Run the upgrade that was deferred by an earlier call to doUpgrade.
|
String |
getBuildNumber() |
boolean |
runOnSpaceImport()
This task does not apply to spaces, only to global configuration.
|
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 DefaultSpaceContentToPageTemplateUpgradeTask(SettingsManager settingsManager, XhtmlContent xhtmlContent, SystemTemplateManager systemTemplateManager, org.springframework.transaction.PlatformTransactionManager transactionManager)
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.