public class

UpgradeTask_Build808

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

Class Overview

Sets a date-time property that the instance was upgraded so we can know when to delete the NotificationInstance table.

Summary

Public Constructors
UpgradeTask_Build808()
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_Build808 ()

Public Methods

public void doUpgrade (boolean setupMode)

Perform the upgrade.

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

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.