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 Finalization
UpgradeTask
- Since:
- 7.14
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
-
Constructor Details
-
ErrorImpl
public ErrorImpl(String upgradeTaskName, String buildNumber, boolean isClusterWideTask, String exceptionMessage, Collection<String> upgradeErrors)
-
-
Method Details
-
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
- 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
- Specified by:
getExceptionMessage
in interfaceUpgradeFinalizationRun.Error
- Returns:
- the message of the
Exception
caused by this finalization upgrade task if one exists, else null.
-
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.
-