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
Creates a new TaskError instance with the current timestamp and the specified workerId and error.void
A description of the error.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
-
getTimestamp
The time at which the error occurred. -
getWorkerId
The ID of the worker where the error occurred. -
getError
A description of the error. -
setTimestamp
The time at which the error occurred. -
setWorkerId
The ID of the worker where the error occurred. -
setError
A description of the error. -
equals
-
canEqual
-
hashCode
-
toString
-