public class UpgradeTask_Build6136 extends AbstractReindexUpgradeTask
We have changed the algorithm from the Porter Stemmer to the Snowball Program for English (AKA Porter2).
TokenFilters.English.Stemming
UpgradeTask.ScheduleOption, UpgradeTask.Status
ALL_INDEXES, ALL_ISSUE_INDEXES, ALL_SHARED_ENTITY_TYPES, NO_SHARED_ENTITIES, WORKLOG_ONLY
Constructor and Description |
---|
UpgradeTask_Build6136() |
Modifier and Type | Method and Description |
---|---|
String |
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.
|
String |
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.
|
reIndexAllIssues
getScheduleOption
addError, addErrors, addErrors, convertToSchemaTableName, getApplicationProperties, getDatabaseConnection, getDatabaseType, getDelegator, getEntityEngine, getErrors, getI18nBean, getOfBizDelegator, getReindexRequestService, getSchemaName, isMSSQL, isMYSQL, isORACLE, isPostgreSQL
public String getBuildNumber()
public void doUpgrade(boolean setupMode) throws Exception
UpgradeTask
doUpgrade
in interface UpgradeTask
doUpgrade
in class AbstractReindexUpgradeTask
setupMode
- Indicating this upgrade task is running during set up.Exception
public String getShortDescription()
UpgradeTask
getShortDescription
in interface UpgradeTask
getShortDescription
in class AbstractReindexUpgradeTask
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.
@Nullable public String dependsUpon()
UpgradeTask
dependsUpon
in interface UpgradeTask
dependsUpon
in class AbstractUpgradeTask
Copyright © 2002-2016 Atlassian. All Rights Reserved.