Class UpgradeFinalizationRunImpl.ErrorImpl
- java.lang.Object
-
- com.atlassian.confluence.impl.cluster.UpgradeFinalizationRunImpl.ErrorImpl
-
- All Implemented Interfaces:
UpgradeFinalizationRun.Error
,Serializable
- Enclosing class:
- UpgradeFinalizationRunImpl
@ParametersAreNullableByDefault @ReturnValuesAreNullableByDefault public static class UpgradeFinalizationRunImpl.ErrorImpl extends Object implements Serializable, UpgradeFinalizationRun.Error
Encapsulates errors related to the running of a FinalizationUpgradeTask
- Since:
- 7.14
- See Also:
- Serialized Form
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getBuildNumber()
String
getExceptionMessage()
Collection<String>
getUpgradeErrors()
String
getUpgradeTaskName()
boolean
isClusterWideTask()
-
-
-
Constructor Detail
-
ErrorImpl
public ErrorImpl(String upgradeTaskName, String buildNumber, boolean isClusterWideTask, String exceptionMessage, Collection<String> upgradeErrors)
-
-
Method Detail
-
getUpgradeTaskName
public String getUpgradeTaskName()
- Specified by:
getUpgradeTaskName
in interfaceUpgradeFinalizationRun.Error
- Returns:
- the name of the finalization upgrade task associated with this error if one exists, else null.
-
getBuildNumber
public String getBuildNumber()
- Specified by:
getBuildNumber
in interfaceUpgradeFinalizationRun.Error
- Returns:
- the build number of the finalization upgrade task associated with this error if one exists, else null.
-
isClusterWideTask
public boolean isClusterWideTask()
- Specified by:
isClusterWideTask
in interfaceUpgradeFinalizationRun.Error
- Returns:
- true if the finalization upgrade task associated with this error was cluster wide e.g. a database task.
-
getExceptionMessage
public String getExceptionMessage()
- Specified by:
getExceptionMessage
in interfaceUpgradeFinalizationRun.Error
- Returns:
- the message of the
Exception
caused by this finalization upgrade task if one exists, else null.
-
getUpgradeErrors
public Collection<String> getUpgradeErrors()
- Specified by:
getUpgradeErrors
in interfaceUpgradeFinalizationRun.Error
- Returns:
- a collection of error strings related to the exception caused by this finalization upgrade task if one exists, else null.
-
-