com.atlassian.confluence.upgrade
Interface DeferredUpgradeTask

All Superinterfaces:
UpgradeTask
All Known Implementing Classes:
AbstractDeferredRunUpgradeTask, ConditionallyEnableMailArchivePluginUpgradeTask, DefaultSpaceContentToPageTemplateUpgradeTask, DisableConfluenceInvitePluginUpgradeTask, PageTemplateWikiToXhtmlMigrationUpgradeTask, RebuildIndexUpgradeTask, ReportUserMacrosWithWikiTemplateUpgradeTask, WelcomeMessageUpgradeTask, WikiToXhtmlMigrationUpgradeTask

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, getBuildNumber, getConstraint, getErrors, getShortDescription, validate
 

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-2013 Atlassian. All Rights Reserved.