Package com.atlassian.jira.upgrade
Class LegacyImmediateUpgradeTask
java.lang.Object
com.atlassian.jira.upgrade.AbstractUpgradeTask
com.atlassian.jira.upgrade.AbstractImmediateUpgradeTask
com.atlassian.jira.upgrade.LegacyImmediateUpgradeTask
- All Implemented Interfaces:
UpgradeTask,com.atlassian.upgrade.spi.UpgradeTask
Old upgrade tasks will extend this.
They are not downgradable because they were created before the Downgrade Task framework was built.
- Since:
- v6.4.4
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.atlassian.jira.upgrade.UpgradeTask
UpgradeTask.ScheduleOption, UpgradeTask.Status -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanFlag to claim whether this upgrade task needs an explicit downgrade task to reverse the data changes in Jira-Server.Methods inherited from class com.atlassian.jira.upgrade.AbstractImmediateUpgradeTask
getScheduleOptionMethods inherited from class com.atlassian.jira.upgrade.AbstractUpgradeTask
addError, addErrors, addErrors, convertToSchemaTableName, dependsUpon, getApplicationProperties, getDatabaseConnection, getDatabaseType, getDatabaseUtil, getDelegator, getEntityEngine, getErrors, getI18nBean, getOfBizDelegator, getReindexRequestService, getSchemaName, isMSSQL, isMYSQL, isORACLE, isPostgreSQL, runUpgradeMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.atlassian.jira.upgrade.UpgradeTask
doUpgrade, getBuildNumber, getShortDescriptionMethods inherited from interface com.atlassian.upgrade.spi.UpgradeTask
getBuildNumber, getShortDescription
-
Constructor Details
-
LegacyImmediateUpgradeTask
protected LegacyImmediateUpgradeTask()
-
-
Method Details
-
isDowngradeTaskRequired
public boolean isDowngradeTaskRequired()Description copied from interface:UpgradeTaskFlag to claim whether this upgrade task needs an explicit downgrade task to reverse the data changes in Jira-Server. Jira-Cloud always needs corresponding downgrade task.If a downgrade is a simple no-op then return false, and JIRA will ignore these changes during a downgrade.
If you need to actually undo the changes made here then declare true and add a Downgrade Task to the bug fix branch.
- Returns:
- true if an actual Downgrade Task must run to revert these changes, false if downgrade is a no-op.
-