public class

UpgradeTask_Build70011

extends AbstractImmediateUpgradeTask
java.lang.Object
   ↳ com.atlassian.jira.upgrade.AbstractUpgradeTask
     ↳ com.atlassian.jira.upgrade.AbstractImmediateUpgradeTask
       ↳ com.atlassian.jira.upgrade.tasks.UpgradeTask_Build70011

Class Overview

Upgrade the Filter Subscription schedule.

Historical note: This upgrade task was originally numbered 6303, but it used the wrong ID column when resolving the Quartz triggers, leading to incorrect results. The fixed upgrade task was remapped first to 6307 in the 6.3-OD-1 release and 6317 for development systems. Although the upgrade task is idempotent, it is based on the old quartz tables, which will not be updated once the data has migrated to the new ones. Therefore, we should not do anything as 6317 if the Quartz data has already been fixed in build 6307.

To further complicate matters, in JIRA 7.0, we are changing the scheduler implementation again, which means that we need to change how this upgrade task works. If 6317 was previously run, then the subscriptions have already been migrated from the QRTZ tables to the JQUARTZ tables. If not, then we will need to run this migration *after* the JQUARTZ to clusteredjob migration, as otherwise that would clobber the subscriptions when it deletes everything from clusteredjob for idempotency.

Summary

Public Constructors
UpgradeTask_Build70011(EntityEngine entityEngine, SchedulerService schedulerService, JiraParameterMapSerializer jiraParameterMapSerializer)
Public Methods
@Nullable String dependsUpon()
Return the Upgrade task id of another upgrade task that must be run prior to this task.
void doUpgrade(boolean setupMode)
String getBuildNumber()
String getShortDescription()
boolean isDowngradeTaskRequired()
[Expand]
Inherited Methods
From class com.atlassian.jira.upgrade.AbstractImmediateUpgradeTask
From class com.atlassian.jira.upgrade.AbstractUpgradeTask
From class java.lang.Object
From interface com.atlassian.jira.upgrade.UpgradeTask

Public Constructors

public UpgradeTask_Build70011 (EntityEngine entityEngine, SchedulerService schedulerService, JiraParameterMapSerializer jiraParameterMapSerializer)

Public Methods

@Nullable public String dependsUpon ()

Return the Upgrade task id of another upgrade task that must be run prior to this task.

public void doUpgrade (boolean setupMode)

Throws
Exception

public String getBuildNumber ()

public String getShortDescription ()

public boolean isDowngradeTaskRequired ()