public static class UpgradeManager.Status extends Object
Modifier and Type | Field and Description |
---|---|
static UpgradeManager.Status |
OK |
Constructor and Description |
---|
Status(Collection<String> errors)
Creates status with only one error message and indexing params set to none.
|
Status(String error)
Creates status with only one error message and indexing params set to none.
|
Modifier and Type | Method and Description |
---|---|
Collection<String> |
getErrors()
List of errors that occurred during the upgrade
|
boolean |
successful()
Checks whether this upgrade was successful.
|
public static final UpgradeManager.Status OK
public Status(String error)
error
- the only error messagepublic Status(Collection<String> errors)
errors
- a list of errors that occurred during the upgradepublic boolean successful()
public Collection<String> getErrors()
Copyright © 2002-2015 Atlassian. All Rights Reserved.