public abstract class AbstractDeferredRunUpgradeTask extends AbstractUpgradeTask implements DeferredUpgradeTask
log
Constructor and Description |
---|
AbstractDeferredRunUpgradeTask() |
Modifier and Type | Method and Description |
---|---|
void |
doUpgrade()
Perform the upgrade.
|
boolean |
isUpgradeRequired() |
void |
setUpgradeRequired(boolean required) |
addAllErrors, addError, addError, getBuildNumber, getConstraint, getErrors, getName, getShortDescription, isDatabaseUpgrade, setBeanName, setBuildNumber, validate
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
doDeferredUpgrade
getConstraint, getErrors, validate
getBuildNumber, getName, getShortDescription, isDatabaseUpgrade
breaksBackwardCompatibility, runOnSpaceImport
public boolean isUpgradeRequired()
isUpgradeRequired
in interface DeferredUpgradeTask
public void setUpgradeRequired(boolean required)
setUpgradeRequired
in interface DeferredUpgradeTask
required
- if true then this upgrade task needs to be run.public void doUpgrade() throws Exception
UpgradeTask
doUpgrade
in interface UpgradeTask
Exception
Copyright © 2003–2020 Atlassian. All rights reserved.