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 time at which the error occurred.The ID of the worker where the error occurred.inthashCode()static TaskError.BuildervoidA description of the error.voidsetErrorType(String errorType) 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
-
raisedNow
-
builder
-
toBuilder
-
getTimestamp
The time at which 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. -
setWorkerId
The ID of the worker where the error occurred. -
setError
A description of the error. -
setErrorType
-
setStatusAtFailure
-
setProcessExitCode
-
equals
-
canEqual
-
hashCode
-
toString
-