Class TaskError
java.lang.Object
co.yellowdog.platform.model.TaskError
- All Implemented Interfaces:
Serializable
Holds details of an error that occurred during execution of the task.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic TaskError.Builderbuilder()protected booleanbooleangetError()A description of the error.The ID of the node where the error occurred.The time at which the error occurred.The ID of the worker where the error occurred.inthashCode()voidA description of the error.voidsetErrorType(String errorType) voidThe ID of the node where the error occurred.voidsetProcessExitCode(Integer processExitCode) voidsetStatusAtFailure(TaskStatus statusAtFailure) voidsetTimestamp(Instant timestamp) The time at which the error occurred.voidsetWorkerId(String workerId) The ID of the worker where the error occurred.toString()
-
Method Details
-
builder
-
toBuilder
-
getTimestamp
The time at which the error occurred. -
getNodeId
The ID of the node where the error occurred. -
getWorkerId
The ID of the worker where the error occurred. -
getError
A description of the error. -
getErrorType
-
getStatusAtFailure
-
getProcessExitCode
-
setTimestamp
The time at which the error occurred. -
setNodeId
The ID of the node where the error occurred. -
setWorkerId
The ID of the worker where the error occurred. -
setError
A description of the error. -
setErrorType
-
setStatusAtFailure
-
setProcessExitCode
-
equals
-
canEqual
-
hashCode
-
toString
-