Package com.atlassian.jira.upgrade.tasks
Class UpgradeTask_Build800004
java.lang.Object
com.atlassian.jira.upgrade.AbstractUpgradeTask
com.atlassian.jira.upgrade.AbstractImmediateUpgradeTask
com.atlassian.jira.upgrade.tasks.AbstractReindexUpgradeTask
com.atlassian.jira.upgrade.tasks.UpgradeTask_Build800004
- All Implemented Interfaces:
UpgradeTask,com.atlassian.upgrade.spi.UpgradeTask
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.atlassian.jira.upgrade.UpgradeTask
UpgradeTask.ScheduleOption, UpgradeTask.Status -
Field Summary
Fields inherited from class com.atlassian.jira.upgrade.tasks.AbstractReindexUpgradeTask
ALL_INDEXES, ALL_ISSUE_INDEXES, ALL_SHARED_ENTITY_TYPES, NO_SHARED_ENTITIES, WORKLOG_ONLY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintA short (invalid input: '<'50 chars) description of the upgrade actionbooleanFlag to claim whether this upgrade task needs an explicit downgrade task to reverse the data changes in Jira-Server.booleanWhen this task is pending, returned value is used to determine if index startup flow should perform normal procedure to obtain index.Methods inherited from class com.atlassian.jira.upgrade.tasks.AbstractReindexUpgradeTask
doUpgrade, reIndexAllIssuesMethods inherited from class com.atlassian.jira.upgrade.AbstractImmediateUpgradeTask
getScheduleOptionMethods inherited from class com.atlassian.jira.upgrade.AbstractUpgradeTask
addError, addErrors, addErrors, convertToSchemaTableName, dependsUpon, getApplicationProperties, getDatabaseConnection, getDatabaseType, getDatabaseUtil, getDelegator, getEntityEngine, getErrors, getI18nBean, getOfBizDelegator, getReindexRequestService, getSchemaName, isMSSQL, isMYSQL, isORACLE, isPostgreSQL, runUpgrade
-
Constructor Details
-
UpgradeTask_Build800004
public UpgradeTask_Build800004()
-
-
Method Details
-
getBuildNumber
public int getBuildNumber()- Returns:
- The build number that this upgrade is applicable to
-
triggersFullReindex
public boolean triggersFullReindex()Description copied from class:AbstractReindexUpgradeTaskWhen this task is pending, returned value is used to determine if index startup flow should perform normal procedure to obtain index. If we change the directory for indexes, index startup flow performs full reindex. If we already triggering full reindex as part of this upgrade task the one from index startup flow is obsolete. To prevent double full reindex caused by index startup flow + upgrade task combination return true.- Specified by:
triggersFullReindexin classAbstractReindexUpgradeTask- Returns:
- true if index startup flow should be skipped false if you want to perform index startup flow before this upgrade task.
-
getShortDescription
Description copied from interface:UpgradeTaskA short (invalid input: '<'50 chars) description of the upgrade action- Specified by:
getShortDescriptionin interfaceUpgradeTask- Specified by:
getShortDescriptionin interfacecom.atlassian.upgrade.spi.UpgradeTask- Overrides:
getShortDescriptionin classAbstractReindexUpgradeTask
-
isDowngradeTaskRequired
public boolean isDowngradeTaskRequired()Description copied from interface:UpgradeTaskFlag to claim whether this upgrade task needs an explicit downgrade task to reverse the data changes in Jira-Server. Jira-Cloud always needs corresponding downgrade task.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.
- Returns:
- true if an actual Downgrade Task must run to revert these changes, false if downgrade is a no-op.
-