public static class

UpgradeManager.Status

extends Object
java.lang.Object
   ↳ com.atlassian.jira.upgrade.UpgradeManager.Status

Class Overview

Status of the upgrade process

Summary

Public Constructors
UpgradeManager.Status(String error)
Creates status with only one error message and reindexPerformed flag set to false
UpgradeManager.Status(boolean reindexPerformed, Collection<String> errors)
Public Methods
Collection<String> getErrors()
List of errors that occurred during the upgrade
boolean reindexPerformed()
If one of the executed upgrade tasks required reindexing thim method will return true
boolean succesful()
Checks wether this upgrade was succesful
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public UpgradeManager.Status (String error)

Creates status with only one error message and reindexPerformed flag set to false

Parameters
error the only erro messag

public UpgradeManager.Status (boolean reindexPerformed, Collection<String> errors)

Parameters
reindexPerformed flag indicating if reindexing was performed during upgrade
errors a list of errors that occurred during the upgrade

Public Methods

public Collection<String> getErrors ()

List of errors that occurred during the upgrade

Returns
  • list of errors

public boolean reindexPerformed ()

If one of the executed upgrade tasks required reindexing thim method will return true

Returns
  • true if upgrade manager performed deindexing

public boolean succesful ()

Checks wether this upgrade was succesful

Returns
  • true if upgrade tasks returned no erros