public class RemoveFixedWidthThemeUpgradeTask extends AbstractUpgradeTask implements DatabaseUpgradeTask
Constructor and Description |
---|
RemoveFixedWidthThemeUpgradeTask(ConfluenceBandanaRecordDao bandanaRecordDao,
DdlExecutor ddlExecutor) |
Modifier and Type | Method and Description |
---|---|
boolean |
breaksBackwardCompatibility()
Nothing will have a fixedwidth theme after downgrade but that is okay.
|
void |
doUpgrade()
Perform the upgrade.
|
String |
getBuildNumber() |
String |
getShortDescription()
A short (<50 chars) description of the upgrade action
|
boolean |
runOnSpaceImport()
This task isn't strictly necessary, since if the fixed width theme isn't installed the theme configuration
code will handle that situation correctly.
|
addAllErrors, addError, addError, getConstraint, getErrors, getName, isDatabaseUpgrade, setBeanName, setBuildNumber, validate
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getConstraint, getErrors, validate
getName, isDatabaseUpgrade
public RemoveFixedWidthThemeUpgradeTask(ConfluenceBandanaRecordDao bandanaRecordDao, DdlExecutor ddlExecutor)
public String getBuildNumber()
getBuildNumber
in interface UpgradeTaskInfo
getBuildNumber
in class AbstractUpgradeTask
public String getShortDescription()
UpgradeTaskInfo
getShortDescription
in interface UpgradeTaskInfo
getShortDescription
in class AbstractUpgradeTask
public void doUpgrade() throws Exception
UpgradeTask
doUpgrade
in interface UpgradeTask
Exception
public boolean runOnSpaceImport()
runOnSpaceImport
in interface BackupSupport
public boolean breaksBackwardCompatibility()
breaksBackwardCompatibility
in interface BackupSupport
Copyright © 2003–2020 Atlassian. All rights reserved.