Package com.atlassian.confluence.upgrade
Class AbstractDeferredRunUpgradeTask
java.lang.Object
com.atlassian.confluence.upgrade.AbstractUpgradeTask
com.atlassian.confluence.upgrade.AbstractDeferredRunUpgradeTask
- All Implemented Interfaces:
BackupSupport
,DeferredUpgradeTask
,UpgradeTask
,UpgradeTaskInfo
,org.springframework.beans.factory.Aware
,org.springframework.beans.factory.BeanNameAware
- Direct Known Subclasses:
AbstractIndexContentUpgradeTask
,AbstractPageTemplateMigrationUpgradeTask
,BandanaTokenCleanupUpgradeTask
,BandanaXStreamValueUpgradeTask
,SplitJournalUpgradeTask
,WikiToXhtmlMigrationUpgradeTask
public abstract class AbstractDeferredRunUpgradeTask
extends AbstractUpgradeTask
implements DeferredUpgradeTask
-
Field Summary
Fields inherited from interface com.atlassian.confluence.upgrade.UpgradeTask
log
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Perform the upgrade.boolean
void
setUpgradeRequired
(boolean required) Methods inherited from class com.atlassian.confluence.upgrade.AbstractUpgradeTask
addAllErrors, addError, addError, getBuildNumber, getConstraint, getErrors, getName, getShortDescription, isDatabaseUpgrade, setBeanName, setBuildNumber, validate
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.atlassian.confluence.upgrade.BackupSupport
breaksBackwardCompatibility, runOnSpaceImport
Methods inherited from interface com.atlassian.confluence.upgrade.DeferredUpgradeTask
doDeferredUpgrade
Methods inherited from interface com.atlassian.confluence.upgrade.UpgradeTask
getConstraint, getErrors, validate
Methods inherited from interface com.atlassian.confluence.upgrade.UpgradeTaskInfo
getBuildNumber, getName, getShortDescription, isDatabaseUpgrade
-
Constructor Details
-
AbstractDeferredRunUpgradeTask
public AbstractDeferredRunUpgradeTask()
-
-
Method Details
-
isUpgradeRequired
public boolean isUpgradeRequired()- Specified by:
isUpgradeRequired
in interfaceDeferredUpgradeTask
- Returns:
- true if this task requires to be run
-
setUpgradeRequired
public void setUpgradeRequired(boolean required) - Specified by:
setUpgradeRequired
in interfaceDeferredUpgradeTask
- Parameters:
required
- if true then this upgrade task needs to be run.
-
doUpgrade
Description copied from interface:UpgradeTask
Perform the upgrade.- Specified by:
doUpgrade
in interfaceUpgradeTask
- Throws:
Exception
-