public class UpgradeTask_Build71001 extends AbstractDelayableUpgradeTask
UpgradeTask.ScheduleOption, UpgradeTask.Status
Constructor and Description |
---|
UpgradeTask_Build71001(DbConnectionManager dbConnectionManager) |
Modifier and Type | Method and Description |
---|---|
void |
doUpgrade(boolean setupMode)
Perform an upgrade task that will delete any association from the 'NodeAssociation' table that
is between an issue and a non-existent version.
|
int |
getBuildNumber() |
String |
getShortDescription()
A short (<50 chars) description of the upgrade action
|
boolean |
isDowngradeTaskRequired()
Flag to claim whether this upgrade task needs an explicit downgrade task to reverse the data changes in Jira-Server.
|
getScheduleOption
addError, addErrors, addErrors, convertToSchemaTableName, dependsUpon, getApplicationProperties, getDatabaseConnection, getDatabaseType, getDatabaseUtil, getDelegator, getEntityEngine, getErrors, getI18nBean, getOfBizDelegator, getReindexRequestService, getSchemaName, isMSSQL, isMYSQL, isORACLE, isPostgreSQL, runUpgrade
public UpgradeTask_Build71001(DbConnectionManager dbConnectionManager)
public int getBuildNumber()
public boolean isDowngradeTaskRequired()
UpgradeTask
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.
public String getShortDescription()
UpgradeTask
public void doUpgrade(boolean setupMode) throws Exception
setupMode
- Indicating this upgrade task is running during set up.Exception
Copyright © 2002-2023 Atlassian. All Rights Reserved.