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.Builder
builder()
protected boolean
boolean
getError()
A description of the error.The time at which the error occurred.The ID of the worker where the error occurred.int
hashCode()
static TaskError.Builder
void
A description of the error.void
setErrorType
(String errorType) void
setProcessExitCode
(Integer processExitCode) void
setStatusAtFailure
(TaskStatus statusAtFailure) void
setTimestamp
(Instant timestamp) The time at which the error occurred.void
setWorkerId
(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
-