public class UpgradeTask_Build6039 extends AbstractReindexUpgradeTask
UpgradeTask.ScheduleOption, UpgradeTask.Status
ALL_INDEXES, ALL_ISSUE_INDEXES, ALL_SHARED_ENTITY_TYPES, NO_SHARED_ENTITIES, WORKLOG_ONLY
Constructor and Description |
---|
UpgradeTask_Build6039(EntityEngine entityEngine) |
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.
|
protected void |
doUserProjectRoleActorUpgrade() |
protected void |
doWorklogUpgrade() |
String |
getBuildNumber() |
String |
getShortDescription()
A short (<50 chars) description of the upgrade action
|
protected Map<String,String> |
toUsernameMap(SelectQuery<String> selectQuery) |
reIndexAllIssues
getScheduleOption
addError, addErrors, addErrors, convertToSchemaTableName, getApplicationProperties, getDatabaseConnection, getDatabaseType, getDelegator, getEntityEngine, getErrors, getI18nBean, getOfBizDelegator, getReindexRequestService, getSchemaName, isMSSQL, isMYSQL, isORACLE, isPostgreSQL
public UpgradeTask_Build6039(EntityEngine entityEngine)
public String getBuildNumber()
getBuildNumber
in interface UpgradeTask
getBuildNumber
in class AbstractUpgradeTask
public String getShortDescription()
UpgradeTask
getShortDescription
in interface UpgradeTask
getShortDescription
in class AbstractReindexUpgradeTask
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
protected void doWorklogUpgrade() throws SQLException
SQLException
protected void doUserProjectRoleActorUpgrade() throws SQLException
SQLException
protected Map<String,String> toUsernameMap(SelectQuery<String> selectQuery)
@Nullable public String dependsUpon()
UpgradeTask
dependsUpon
in interface UpgradeTask
dependsUpon
in class AbstractUpgradeTask
Copyright © 2002-2015 Atlassian. All Rights Reserved.