Class TaskRunAttempt

java.lang.Object
io.kestra.core.models.executions.TaskRunAttempt

public class TaskRunAttempt extends Object
  • Constructor Details

    • TaskRunAttempt

      public TaskRunAttempt()
  • Method Details

    • setMetrics

      @Deprecated public void setMetrics(List<AbstractMetricEntry<?>> metrics)
      Deprecated.
      Should always be null, we need to keep it for backward compatibility or the deserialization of old attempt will no longer work.
    • withState

      public TaskRunAttempt withState(State.Type state)