com.atlassian.confluence.upgrade.upgradetask
Class DefaultSpaceContentToPageTemplateUpgradeTask
java.lang.Object
com.atlassian.confluence.upgrade.AbstractUpgradeTask
com.atlassian.confluence.upgrade.AbstractDeferredRunUpgradeTask
com.atlassian.confluence.upgrade.upgradetask.DefaultSpaceContentToPageTemplateUpgradeTask
- All Implemented Interfaces:
- BackupSupport, DatabaseUpgradeTask, DeferredUpgradeTask, UpgradeTask
public class DefaultSpaceContentToPageTemplateUpgradeTask
- extends AbstractDeferredRunUpgradeTask
- implements DatabaseUpgradeTask
Fields inherited from interface com.atlassian.confluence.upgrade.UpgradeTask |
log |
Method Summary |
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. |
java.lang.String |
getBuildNumber()
|
boolean |
runOnSpaceImport()
This task does not apply to spaces, only to global configuration. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultSpaceContentToPageTemplateUpgradeTask
public DefaultSpaceContentToPageTemplateUpgradeTask(SettingsManager settingsManager,
XhtmlContent xhtmlContent,
SystemTemplateManager systemTemplateManager,
org.springframework.transaction.PlatformTransactionManager transactionManager)
getBuildNumber
public java.lang.String getBuildNumber()
- Specified by:
getBuildNumber
in interface UpgradeTask
- Overrides:
getBuildNumber
in class AbstractUpgradeTask
- Returns:
- The build number that this upgrade is applicable to
doDeferredUpgrade
public void doDeferredUpgrade()
throws java.lang.Exception
- Description copied from interface:
DeferredUpgradeTask
- Run the upgrade that was deferred by an earlier call to doUpgrade.
- Specified by:
doDeferredUpgrade
in interface DeferredUpgradeTask
- Throws:
java.lang.Exception
runOnSpaceImport
public boolean runOnSpaceImport()
- This task does not apply to spaces, only to global configuration.
- Specified by:
runOnSpaceImport
in interface BackupSupport
- Returns:
- false
breaksBackwardCompatibility
public boolean breaksBackwardCompatibility()
- After downgrading from above 5.0 the default space content will be lost, but that should be acceptable. A
downgrade task could at least restore the old default content.
- Specified by:
breaksBackwardCompatibility
in interface BackupSupport
- Returns:
- false.
Copyright © 2003-2013 Atlassian. All Rights Reserved.