public class UpgradeTask_Build552 extends LegacyImmediateUpgradeTask
This upgrade task will also update issue navigator columns, search requests, gadget configurations and delete any values stored in the custom field values table for labels custom fields.
UpgradeTask.ScheduleOption, UpgradeTask.Status| Modifier and Type | Field and Description |
|---|---|
static String |
CF_ENTITY |
static String |
CF_VALUE_ENTITY |
static String |
LABEL_GADGET |
static String |
LABELS_CF_KEY |
static String |
NEW_LABEL_GADGET |
| Constructor and Description |
|---|
UpgradeTask_Build552(OfBizDelegator ofBizDelegator,
LocaleManager localeManager,
ColumnLayoutManager columnLayoutManager,
JqlQueryParser jqlQueryParser,
JqlStringSupport jqlStringSupport,
CustomFieldManager customFieldManager,
I18nHelper.BeanFactory beanFactory,
FieldScreenSchemeManager fieldScreenSchemeManager,
FieldLayoutManager fieldLayoutManager,
FieldScreenStore fieldScreenStore,
CachingLabelStore cachingLabelStore,
CachingSearchRequestStore cachingSearchRequestStore,
CachingPortletConfigurationStore cachingPortletConfigurationStore) |
| 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
|
isDowngradeTaskRequiredgetScheduleOptionaddError, addErrors, addErrors, convertToSchemaTableName, getApplicationProperties, getDatabaseConnection, getDatabaseType, getDelegator, getEntityEngine, getErrors, getI18nBean, getOfBizDelegator, getReindexRequestService, getSchemaName, isMSSQL, isMYSQL, isORACLE, isPostgreSQL, runUpgradepublic static final String CF_ENTITY
public static final String CF_VALUE_ENTITY
public static final String LABELS_CF_KEY
public static final String LABEL_GADGET
public static final String NEW_LABEL_GADGET
public UpgradeTask_Build552(OfBizDelegator ofBizDelegator, LocaleManager localeManager, ColumnLayoutManager columnLayoutManager, JqlQueryParser jqlQueryParser, JqlStringSupport jqlStringSupport, CustomFieldManager customFieldManager, I18nHelper.BeanFactory beanFactory, FieldScreenSchemeManager fieldScreenSchemeManager, FieldLayoutManager fieldLayoutManager, FieldScreenStore fieldScreenStore, CachingLabelStore cachingLabelStore, CachingSearchRequestStore cachingSearchRequestStore, CachingPortletConfigurationStore cachingPortletConfigurationStore)
public void doUpgrade(boolean setupMode)
throws Exception
UpgradeTasksetupMode - Indicating this upgrade task is running during set up.Exceptionpublic String getShortDescription()
UpgradeTaskpublic int getBuildNumber()
@Nullable public Integer dependsUpon()
UpgradeTaskdependsUpon in class AbstractUpgradeTaskCopyright © 2002-2017 Atlassian. All Rights Reserved.