|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.confluence.upgrade.AbstractUpgradeTask com.atlassian.confluence.upgrade.upgradetask.EhCacheConfigMigrationUpgradeTask
public class EhCacheConfigMigrationUpgradeTask
An upgrade task which migrates EhCache config. This delegates to a bean in the confluence-cache-ehcache module, which is not directly visible to this class, and so the work is done via a delegate spring bean.
Constructor Summary | |
---|---|
EhCacheConfigMigrationUpgradeTask(java.lang.String ehCacheConfigMigratorBeanName)
|
Method Summary | |
---|---|
boolean |
breaksBackwardCompatibility()
Returns true if a new export can't be imported in an older instance. |
void |
doUpgrade()
Perform the upgrade. |
java.lang.String |
getBuildNumber()
|
java.lang.String |
getShortDescription()
A short (<50 chars) description of the upgrade action |
boolean |
runOnSpaceImport()
Returns true if an older Space can't be imported in a new instance without running this task. |
void |
setBeanFactory(org.springframework.beans.factory.BeanFactory beanFactory)
|
Methods inherited from class com.atlassian.confluence.upgrade.AbstractUpgradeTask |
---|
addAllErrors, addError, addError, getConstraint, getErrors, setBuildNumber, validate |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public EhCacheConfigMigrationUpgradeTask(java.lang.String ehCacheConfigMigratorBeanName)
Method Detail |
---|
public boolean runOnSpaceImport()
BackupSupport
runOnSpaceImport
in interface BackupSupport
public boolean breaksBackwardCompatibility()
BackupSupport
breaksBackwardCompatibility
in interface BackupSupport
public void doUpgrade() throws java.lang.Exception
UpgradeTask
doUpgrade
in interface UpgradeTask
java.lang.Exception
public void setBeanFactory(org.springframework.beans.factory.BeanFactory beanFactory) throws org.springframework.beans.BeansException
setBeanFactory
in interface org.springframework.beans.factory.BeanFactoryAware
org.springframework.beans.BeansException
public java.lang.String getShortDescription()
UpgradeTask
getShortDescription
in interface UpgradeTask
getShortDescription
in class AbstractUpgradeTask
public java.lang.String getBuildNumber()
getBuildNumber
in interface UpgradeTask
getBuildNumber
in class AbstractUpgradeTask
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |