All Implemented Interfaces:

public class TaskFailure
extends java.lang.Object
implements JsonpSerializable
See Also:
API specification
  • Field Details

  • Method Details

    • of

      public static TaskFailure of​(java.util.function.Function<TaskFailure.Builder,​ObjectBuilder<TaskFailure>> fn)
    • taskId

      public final java.lang.String taskId()
      Required - API name: task_id
    • nodeId

      public final java.lang.String nodeId()
      Required - API name: node_id
    • status

      public final java.lang.String status()
      Required - API name: status
    • reason

      public final TaskFailureReason reason()
      Required - API name: reason
    • serialize

      public void serialize​( generator, JsonpMapper mapper)
      Serialize this object to JSON.
      Specified by:
      serialize in interface JsonpSerializable
    • serializeInternal

      protected void serializeInternal​( generator, JsonpMapper mapper)
    • setupTaskFailureDeserializer

      protected static void setupTaskFailureDeserializer​(ObjectDeserializer<TaskFailure.Builder> op)