public class

UpgradeTask_Build807

extends Object
implements UpgradeTask
java.lang.Object
   ↳ com.atlassian.jira.upgrade.tasks.UpgradeTask_Build807

Class Overview

Remove any only draft workflows schemes that might be around after a downgrade from OnDemand 5.2 to BTF 5.1.x.

Summary

Public Constructors
UpgradeTask_Build807(OfBizDelegator entityEngine)
Public Methods
void doUpgrade(boolean setupMode)
Perform the upgrade.
String getBuildNumber()
Collection<String> getErrors()
Return any errors that occur.
String getShortDescription()
A short (<50 chars) description of the upgrade action
boolean isReindexRequired()
Is a reindex required as a result of running this task.
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.atlassian.jira.upgrade.UpgradeTask

Public Constructors

public UpgradeTask_Build807 (OfBizDelegator entityEngine)

Public Methods

public void doUpgrade (boolean setupMode)

Perform the upgrade.

Parameters
setupMode Indicating this upgrade task is running during set up.

public String getBuildNumber ()

public Collection<String> getErrors ()

Return any errors that occur. Each entry is a string.

public String getShortDescription ()

A short (<50 chars) description of the upgrade action

public boolean isReindexRequired ()

Is a reindex required as a result of running this task. If this method returns true the Upgrade manager will perform a reindex before completing. If an upgrade task changes data that is indexed by Lucene, e.g. the content of Issue fields then it should return true. A task need not necessarily change data to require a reindex but may return true here and do nothing else if there is a functional change to the code that requires the Lucene index to be rebuilt.

Returns
  • true if a reindex is required as a result of running this task.