Class TaskError.Builder
java.lang.Object
co.yellowdog.platform.model.builders.ValidatedBuilder<TaskError>
co.yellowdog.platform.model.TaskError.Builder
- Enclosing class:
TaskError
-
Method Summary
Modifier and TypeMethodDescriptionBuilds the object without enforcing validation constraints.A description of the error.processExitCode
(Integer processExitCode) statusAtFailure
(TaskStatus statusAtFailure) The time at which the error occurred.toString()
The ID of the worker where the error occurred.Methods inherited from class co.yellowdog.platform.model.builders.ValidatedBuilder
build, validate
-
Method Details
-
timestamp
The time at which the error occurred.- Returns:
this
.
-
workerId
The ID of the worker where the error occurred.- Returns:
this
.
-
error
-
errorType
- Returns:
this
.
-
statusAtFailure
- Returns:
this
.
-
processExitCode
- Returns:
this
.
-
buildUnchecked
Description copied from class:ValidatedBuilder
Builds the object without enforcing validation constraints. This should only be used for testing purposes- Overrides:
buildUnchecked
in classValidatedBuilder<TaskError>
- Returns:
- the object being built
-
toString
-