Class TaskError

java.lang.Object
co.yellowdog.platform.model.TaskError
All Implemented Interfaces:
Serializable

public class TaskError extends Object implements Serializable
Holds details of an error that occurred during execution of the task.
See Also:
  • Method Details

    • raisedNow

      public static TaskError.Builder raisedNow()
    • builder

      public static TaskError.Builder builder()
    • toBuilder

      public TaskError.Builder toBuilder()
    • getTimestamp

      public Instant getTimestamp()
      The time at which the error occurred.
    • getWorkerId

      public String getWorkerId()
      The ID of the worker where the error occurred.
    • getError

      public String getError()
      A description of the error.
    • getErrorType

      public String getErrorType()
    • getStatusAtFailure

      public TaskStatus getStatusAtFailure()
    • getProcessExitCode

      public Integer getProcessExitCode()
    • setTimestamp

      public void setTimestamp(Instant timestamp)
      The time at which the error occurred.
    • setWorkerId

      public void setWorkerId(String workerId)
      The ID of the worker where the error occurred.
    • setError

      public void setError(String error)
      A description of the error.
    • setErrorType

      public void setErrorType(String errorType)
    • setStatusAtFailure

      public void setStatusAtFailure(TaskStatus statusAtFailure)
    • setProcessExitCode

      public void setProcessExitCode(Integer processExitCode)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object