com.atlassian.confluence.upgrade
Class AbstractDeferredRunUpgradeTask
java.lang.Object
com.atlassian.confluence.upgrade.AbstractUpgradeTask
com.atlassian.confluence.upgrade.AbstractDeferredRunUpgradeTask
- All Implemented Interfaces:
- DeferredUpgradeTask, UpgradeTask
- Direct Known Subclasses:
- ConditionallyEnableMailArchivePluginUpgradeTask, DefaultSpaceContentToPageTemplateUpgradeTask, DisableConfluenceInvitePluginUpgradeTask, PageTemplateWikiToXhtmlMigrationUpgradeTask, RebuildIndexUpgradeTask, ReportUserMacrosWithWikiTemplateUpgradeTask, WelcomeMessageUpgradeTask, WikiToXhtmlMigrationUpgradeTask
public abstract class AbstractDeferredRunUpgradeTask
- extends AbstractUpgradeTask
- implements DeferredUpgradeTask
Fields inherited from interface com.atlassian.confluence.upgrade.UpgradeTask |
log |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractDeferredRunUpgradeTask
public AbstractDeferredRunUpgradeTask()
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 Exception
- Description copied from interface:
UpgradeTask
- Perform the upgrade.
- Specified by:
doUpgrade
in interface UpgradeTask
- Throws:
Exception
Copyright © 2003-2013 Atlassian. All Rights Reserved.