com.atlassian.confluence.upgrade.upgradetask
Class PageTemplateWikiToXhtmlMigrationUpgradeTask
java.lang.Object
com.atlassian.confluence.upgrade.AbstractUpgradeTask
com.atlassian.confluence.upgrade.AbstractDeferredRunUpgradeTask
com.atlassian.confluence.upgrade.upgradetask.PageTemplateWikiToXhtmlMigrationUpgradeTask
- All Implemented Interfaces:
- BackupSupport, DatabaseUpgradeTask, DeferredUpgradeTask, UpgradeTask
public class PageTemplateWikiToXhtmlMigrationUpgradeTask
- extends AbstractDeferredRunUpgradeTask
- implements DatabaseUpgradeTask
Convert all wiki formatted content to XHTML content as part of the upgrade. It should be noted that any migration
errors from individual pages will be recorded and logged but will not cause the upgrade itself to fail. This is to
allow for cases where most content migrates successfully and there are simply a few failures that can be fixed
through a different mechanism.
Fields inherited from interface com.atlassian.confluence.upgrade.UpgradeTask |
log |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PageTemplateWikiToXhtmlMigrationUpgradeTask
public PageTemplateWikiToXhtmlMigrationUpgradeTask(WikiToXhtmlSiteMigrator migrator)
doDeferredUpgrade
public void doDeferredUpgrade()
throws Exception
- Specified by:
doDeferredUpgrade
in interface DeferredUpgradeTask
- Throws:
Exception
getBuildNumber
public String getBuildNumber()
- Specified by:
getBuildNumber
in interface UpgradeTask
- Overrides:
getBuildNumber
in class AbstractUpgradeTask
getShortDescription
public String getShortDescription()
- Specified by:
getShortDescription
in interface UpgradeTask
- Overrides:
getShortDescription
in class AbstractUpgradeTask
runOnSpaceImport
public boolean runOnSpaceImport()
- Specified by:
runOnSpaceImport
in interface BackupSupport
breaksBackwardCompatibility
public boolean breaksBackwardCompatibility()
- Specified by:
breaksBackwardCompatibility
in interface BackupSupport