com.atlassian.confluence.upgrade.upgradetask
Class RemoveFixedWidthThemeUpgradeTask
java.lang.Object
com.atlassian.confluence.upgrade.AbstractUpgradeTask
com.atlassian.confluence.upgrade.upgradetask.RemoveFixedWidthThemeUpgradeTask
- All Implemented Interfaces:
- BackupSupport, DatabaseUpgradeTask, UpgradeTask, UpgradeTaskInfo, org.springframework.beans.factory.BeanNameAware
public class RemoveFixedWidthThemeUpgradeTask
- extends AbstractUpgradeTask
- implements DatabaseUpgradeTask
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RemoveFixedWidthThemeUpgradeTask
public RemoveFixedWidthThemeUpgradeTask(ConfluenceBandanaRecordDao bandanaRecordDao,
net.sf.hibernate.SessionFactory sessionFactory)
getBuildNumber
public String getBuildNumber()
- Specified by:
getBuildNumber
in interface UpgradeTaskInfo
- Overrides:
getBuildNumber
in class AbstractUpgradeTask
- Returns:
- The build number that this upgrade is applicable to
getShortDescription
public String getShortDescription()
- Description copied from interface:
UpgradeTaskInfo
- A short (<50 chars) description of the upgrade action
- Specified by:
getShortDescription
in interface UpgradeTaskInfo
- Overrides:
getShortDescription
in class AbstractUpgradeTask
doUpgrade
public void doUpgrade()
throws Exception
- Description copied from interface:
UpgradeTask
- Perform the upgrade.
- Specified by:
doUpgrade
in interface UpgradeTask
- Throws:
Exception
runOnSpaceImport
public 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.
- Specified by:
runOnSpaceImport
in interface BackupSupport
- Returns:
- false
breaksBackwardCompatibility
public boolean breaksBackwardCompatibility()
- Nothing will have a fixedwidth theme after downgrade but that is okay.
- Specified by:
breaksBackwardCompatibility
in interface BackupSupport
- Returns:
- false
Copyright © 2003–2015 Atlassian. All rights reserved.