public class UpgradeTask_Build6142 extends AbstractReindexUpgradeTask
UpgradeTask.ScheduleOption, UpgradeTask.StatusALL_INDEXES, ALL_ISSUE_INDEXES, ALL_SHARED_ENTITY_TYPES, NO_SHARED_ENTITIES, WORKLOG_ONLY| Constructor and Description |
|---|
UpgradeTask_Build6142(CustomFieldManager customFieldManager) |
| Modifier and Type | Method and Description |
|---|---|
Integer |
dependsUpon()
Return the Upgrade task id of another upgrade task that must be run prior to this task.
|
void |
doUpgrade(boolean setupMode)
Perform the upgrade.
|
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.
|
reIndexAllIssuesgetScheduleOptionaddError, addErrors, addErrors, convertToSchemaTableName, getApplicationProperties, getDatabaseConnection, getDatabaseType, getDelegator, getEntityEngine, getErrors, getI18nBean, getOfBizDelegator, getReindexRequestService, getSchemaName, isMSSQL, isMYSQL, isORACLE, isPostgreSQL, runUpgradepublic UpgradeTask_Build6142(CustomFieldManager customFieldManager)
public int getBuildNumber()
public String getShortDescription()
UpgradeTaskgetShortDescription in interface com.atlassian.upgrade.spi.UpgradeTaskgetShortDescription in class AbstractReindexUpgradeTaskpublic boolean isDowngradeTaskRequired()
UpgradeTaskIf 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 void doUpgrade(boolean setupMode)
throws Exception
UpgradeTaskdoUpgrade in class AbstractReindexUpgradeTasksetupMode - Indicating this upgrade task is running during set up.Exception@Nullable public Integer dependsUpon()
UpgradeTaskdependsUpon in class AbstractUpgradeTaskCopyright © 2002-2018 Atlassian. All Rights Reserved.