com.atlassian.confluence.upgrade.upgradetask
Class MailServerUpgradeTask
java.lang.Object
com.atlassian.confluence.upgrade.AbstractUpgradeTask
com.atlassian.confluence.upgrade.upgradetask.MailServerUpgradeTask
- All Implemented Interfaces:
- BackupSupport, DatabaseUpgradeTask, UpgradeTask, UpgradeTaskInfo, org.springframework.beans.factory.BeanNameAware
public class MailServerUpgradeTask
- extends AbstractUpgradeTask
- implements DatabaseUpgradeTask
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MailServerUpgradeTask
public MailServerUpgradeTask(com.atlassian.cache.CacheFactory cacheFactory,
ConfluenceBandanaRecordDao confluenceBandanaRecordDao,
com.atlassian.mail.server.MailServerManager mailServerManager)
getBuildNumber
public java.lang.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 java.lang.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
runOnSpaceImport
public boolean runOnSpaceImport()
- This task doesn't modify space-level information
- Specified by:
runOnSpaceImport
in interface BackupSupport
- Returns:
- false
breaksBackwardCompatibility
public boolean breaksBackwardCompatibility()
- This task replaces the value in
ConfluenceBandanaKeys.MAIL_ACCOUNTS
.
We don't know whether the new value can be used in older versions, so we'll mark
it as non-backward compatible.
- Specified by:
breaksBackwardCompatibility
in interface BackupSupport
- Returns:
- true
doUpgrade
public void doUpgrade()
throws java.lang.Exception
- Description copied from interface:
UpgradeTask
- Perform the upgrade.
- Specified by:
doUpgrade
in interface UpgradeTask
- Throws:
java.lang.Exception
Copyright © 2003-2014 Atlassian. All Rights Reserved.