public static class

UpgradeManager.Status

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

Class Overview

Status of the upgrade process

Summary

Fields
public static final UpgradeManager.Status OK
Public Constructors
Status(String error)
Creates status with only one error message and indexing params set to none.
Status(Collection<String> errors)
Creates status with only one error message and indexing params set to none.
Public Methods
Collection<String> getErrors()
List of errors that occurred during the upgrade
boolean successful()
Checks whether this upgrade was successful.
[Expand]
Inherited Methods
From class java.lang.Object

Fields

public static final UpgradeManager.Status OK

Public Constructors

public Status (String error)

Creates status with only one error message and indexing params set to none.

Parameters
error the only error message

public Status (Collection<String> errors)

Creates status with only one error message and indexing params set to none.

Parameters
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 successful ()

Checks whether this upgrade was successful.

Returns
  • true if upgrade tasks returned no errors