Package com.atlassian.confluence.upgrade
Interface DeferredUpgradeTask
- All Superinterfaces:
UpgradeTask
,UpgradeTaskInfo
- All Known Implementing Classes:
AbstractDeferredRunUpgradeTask
,AbstractIndexContentUpgradeTask
,AbstractPageTemplateMigrationUpgradeTask
,BandanaTokenCleanupUpgradeTask
,BandanaXStreamValueUpgradeTask
,SplitJournalUpgradeTask
,WikiToXhtmlMigrationUpgradeTask
An upgrade task that has a property indicating that it's run should be deferred until some later time.
-
Field Summary
Fields inherited from interface com.atlassian.confluence.upgrade.UpgradeTask
log
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Run the upgrade that was deferred by an earlier call to doUpgrade.boolean
void
setUpgradeRequired
(boolean required) Methods inherited from interface com.atlassian.confluence.upgrade.UpgradeTask
doUpgrade, getConstraint, getErrors, validate
Methods inherited from interface com.atlassian.confluence.upgrade.UpgradeTaskInfo
getBuildNumber, getName, getShortDescription, isDatabaseUpgrade
-
Method Details
-
isUpgradeRequired
boolean isUpgradeRequired()- Returns:
- true if this task requires to be run
-
setUpgradeRequired
void setUpgradeRequired(boolean required) - Parameters:
required
- if true then this upgrade task needs to be run.
-
doDeferredUpgrade
Run the upgrade that was deferred by an earlier call to doUpgrade.- Throws:
Exception
-