public abstract class AbstractReindexUpgradeTask extends AbstractImmediateUpgradeTask
UpgradeTask.ScheduleOption, UpgradeTask.Status
Modifier and Type | Field and Description |
---|---|
protected static Set<AffectedIndex> |
ALL_INDEXES |
protected static Set<AffectedIndex> |
ALL_ISSUE_INDEXES |
protected static Set<SharedEntityType> |
ALL_SHARED_ENTITY_TYPES |
protected static Set<SharedEntityType> |
NO_SHARED_ENTITIES |
protected static Set<AffectedIndex> |
WORKLOG_ONLY |
Constructor and Description |
---|
AbstractReindexUpgradeTask() |
Modifier and Type | Method and Description |
---|---|
void |
doUpgrade(boolean setupMode)
Perform the upgrade.
|
String |
getShortDescription()
A short (<50 chars) description of the upgrade action
|
void |
reIndexAllIssues() |
getScheduleOption
addError, addErrors, addErrors, convertToSchemaTableName, dependsUpon, getApplicationProperties, getDatabaseConnection, getDatabaseType, getDelegator, getEntityEngine, getErrors, getI18nBean, getOfBizDelegator, getReindexRequestService, getSchemaName, isMSSQL, isMYSQL, isORACLE, isPostgreSQL, runUpgrade
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getBuildNumber, isDowngradeTaskRequired
protected static final Set<AffectedIndex> ALL_INDEXES
protected static final Set<AffectedIndex> ALL_ISSUE_INDEXES
protected static final Set<SharedEntityType> ALL_SHARED_ENTITY_TYPES
protected static final Set<AffectedIndex> WORKLOG_ONLY
protected static final Set<SharedEntityType> NO_SHARED_ENTITIES
public void doUpgrade(boolean setupMode) throws Exception
UpgradeTask
setupMode
- Indicating this upgrade task is running during set up.Exception
public String getShortDescription()
UpgradeTask
Copyright © 2002-2019 Atlassian. All Rights Reserved.