Package com.atlassian.confluence.cluster
Interface UpgradeFinalizationRun.Error
-
- All Known Implementing Classes:
UpgradeFinalizationRunImpl.ErrorImpl
- Enclosing interface:
- UpgradeFinalizationRun
public static interface UpgradeFinalizationRun.Error
Specifies the contract for errors related to the running of a FinalizationUpgradeTask
- Since:
- 7.14
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getBuildNumber()
String
getExceptionMessage()
Collection<String>
getUpgradeErrors()
String
getUpgradeTaskName()
boolean
isClusterWideTask()
-
-
-
Method Detail
-
getUpgradeTaskName
String getUpgradeTaskName()
- Returns:
- the name of the finalization upgrade task associated with this error if one exists, else null.
-
getBuildNumber
String getBuildNumber()
- Returns:
- the build number of the finalization upgrade task associated with this error if one exists, else null.
-
isClusterWideTask
boolean isClusterWideTask()
- Returns:
- true if the finalization upgrade task associated with this error was cluster wide e.g. a database task.
-
getExceptionMessage
String getExceptionMessage()
- Returns:
- the message of the
Exception
caused by this finalization upgrade task if one exists, else null.
-
getUpgradeErrors
Collection<String> getUpgradeErrors()
- Returns:
- a collection of error strings related to the exception caused by this finalization upgrade task if one exists, else null.
-
-