public class RemoveFixedWidthThemeUpgradeTask extends AbstractUpgradeTask implements DatabaseUpgradeTask
| Constructor and Description |
|---|
RemoveFixedWidthThemeUpgradeTask(ConfluenceBandanaRecordDao bandanaRecordDao,
org.hibernate.SessionFactory sessionFactory) |
| 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, validateclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetConstraint, getErrors, validategetName, isDatabaseUpgradepublic RemoveFixedWidthThemeUpgradeTask(ConfluenceBandanaRecordDao bandanaRecordDao, org.hibernate.SessionFactory sessionFactory)
public String getBuildNumber()
getBuildNumber in interface UpgradeTaskInfogetBuildNumber in class AbstractUpgradeTaskpublic String getShortDescription()
UpgradeTaskInfogetShortDescription in interface UpgradeTaskInfogetShortDescription in class AbstractUpgradeTaskpublic void doUpgrade()
throws Exception
UpgradeTaskdoUpgrade in interface UpgradeTaskExceptionpublic boolean runOnSpaceImport()
runOnSpaceImport in interface BackupSupportpublic boolean breaksBackwardCompatibility()
breaksBackwardCompatibility in interface BackupSupportCopyright © 2003–2019 Atlassian. All rights reserved.