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() |
abstract boolean |
triggersFullReindex()
When this task is pending, returned value is used to determine if index startup flow should perform normal
procedure to obtain index.
|
getScheduleOptionaddError, addErrors, addErrors, convertToSchemaTableName, dependsUpon, getApplicationProperties, getDatabaseConnection, getDatabaseType, getDatabaseUtil, getDelegator, getEntityEngine, getErrors, getI18nBean, getOfBizDelegator, getReindexRequestService, getSchemaName, isMSSQL, isMYSQL, isORACLE, isPostgreSQL, runUpgradeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetBuildNumber, isDowngradeTaskRequiredprotected 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
UpgradeTasksetupMode - Indicating this upgrade task is running during set up.Exceptionpublic abstract boolean triggersFullReindex()
public String getShortDescription()
UpgradeTaskCopyright © 2002-2024 Atlassian. All Rights Reserved.