com.atlassian.confluence.upgrade
Class AbstractDeferredRunUpgradeTask

java.lang.Object
  extended by com.atlassian.confluence.upgrade.AbstractUpgradeTask
      extended by com.atlassian.confluence.upgrade.AbstractDeferredRunUpgradeTask
All Implemented Interfaces:
BackupSupport, DeferredUpgradeTask, UpgradeTask, UpgradeTaskInfo, org.springframework.beans.factory.BeanNameAware
Direct Known Subclasses:
AbstractPageTemplateMigrationUpgradeTask, ConditionallyEnableMailArchivePluginUpgradeTask, DefaultSpaceContentToPageTemplateUpgradeTask, DisableConfluenceInvitePluginUpgradeTask, JiraIssueMacroServerParamsUpgradeTask, RebuildIndexUpgradeTask, RemovePeopleDirectoryDuplicatesUpgradeTask, WelcomeMessageUpgradeTask, WikiToXhtmlMigrationUpgradeTask, XhtmlRoundTripMigrationUpgradeTask

public abstract class AbstractDeferredRunUpgradeTask
extends AbstractUpgradeTask
implements DeferredUpgradeTask


Field Summary
 
Fields inherited from interface com.atlassian.confluence.upgrade.UpgradeTask
log
 
Constructor Summary
AbstractDeferredRunUpgradeTask()
           
 
Method Summary
 void doUpgrade()
          Perform the upgrade.
 boolean isUpgradeRequired()
           
 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.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
 
Methods inherited from interface com.atlassian.confluence.upgrade.BackupSupport
breaksBackwardCompatibility, runOnSpaceImport
 

Constructor Detail

AbstractDeferredRunUpgradeTask

public AbstractDeferredRunUpgradeTask()
Method Detail

isUpgradeRequired

public boolean isUpgradeRequired()
Specified by:
isUpgradeRequired in interface DeferredUpgradeTask
Returns:
true if this task requires to be run

setUpgradeRequired

public void setUpgradeRequired(boolean required)
Specified by:
setUpgradeRequired in interface DeferredUpgradeTask
Parameters:
required - if true then this upgrade task needs to be run.

doUpgrade

public void doUpgrade()
               throws java.lang.Exception
Description copied from interface: UpgradeTask
Perform the upgrade.

Specified by:
doUpgrade in interface UpgradeTask
Throws:
java.lang.Exception


Copyright © 2003-2014 Atlassian. All Rights Reserved.