com.atlassian.confluence.upgrade
Interface DeferredUpgradeTask

All Superinterfaces:
UpgradeTask, UpgradeTaskInfo
All Known Implementing Classes:
AbstractDeferredRunUpgradeTask, AbstractPageTemplateMigrationUpgradeTask, ConditionallyEnableMailArchivePluginUpgradeTask, DefaultSpaceContentToPageTemplateUpgradeTask, DisableConfluenceInvitePluginUpgradeTask, InitialiseIndexJournalStateUpgradeTask, JiraIssueMacroServerParamsUpgradeTask, MigrateIndexTaskQueueToJournalUpgradeTask, PageTemplateWikiToXhtmlMigrationUpgradeTask, PageTemplateXhtmlRoundTripMigrationUpgradeTask, RebuildIndexUpgradeTask, RemovePeopleDirectoryDuplicatesUpgradeTask, WelcomeMessageUpgradeTask, WikiToXhtmlMigrationUpgradeTask, XhtmlRoundTripMigrationUpgradeTask

public interface DeferredUpgradeTask
extends UpgradeTask

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
 void doDeferredUpgrade()
          Run the upgrade that was deferred by an earlier call to doUpgrade.
 boolean isUpgradeRequired()
           
 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 Detail

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

void doDeferredUpgrade()
                       throws Exception
Run the upgrade that was deferred by an earlier call to doUpgrade.

Throws:
Exception


Copyright © 2003–2015 Atlassian. All rights reserved.