Class WorkflowExecutionHistory

java.lang.Object
io.temporal.internal.common.WorkflowExecutionHistory
Direct Known Subclasses:
WorkflowExecutionHistory

@Deprecated public class WorkflowExecutionHistory extends Object
Deprecated.
  • Field Details

  • Constructor Details

    • WorkflowExecutionHistory

      public WorkflowExecutionHistory(io.temporal.api.history.v1.History history)
      Deprecated.
    • WorkflowExecutionHistory

      public WorkflowExecutionHistory(io.temporal.api.history.v1.History history, String workflowId)
      Deprecated.
  • Method Details

    • extractWorkflowId

      public static String extractWorkflowId(io.temporal.api.history.v1.History history)
      Deprecated.
    • fromJson

      public static WorkflowExecutionHistory fromJson(String serialized)
      Deprecated.
    • toJson

      public String toJson(boolean prettyPrint)
      Deprecated.
      Parameters:
      prettyPrint - Whether to pretty print the JSON.
      Returns:
      Full json that can be used for replay.
    • toJson

      public String toJson(boolean prettyPrint, boolean legacyFormat)
      Deprecated.
      Parameters:
      prettyPrint - Whether to pretty print the JSON.
      legacyFormat - If true, will use the older-style protobuf enum formatting as done by Temporal tooling in the past. This is not recommended.
      Returns:
      Full JSON that can be used for replay.
    • toProtoText

      public String toProtoText(boolean showWorkflowTasks)
      Deprecated.
      Returns workflow instance history in a human-readable format.
      Parameters:
      showWorkflowTasks - when set to false workflow task events (command events) are not included
    • getWorkflowExecution

      public io.temporal.api.common.v1.WorkflowExecution getWorkflowExecution()
      Deprecated.
    • getEvents

      public List<io.temporal.api.history.v1.HistoryEvent> getEvents()
      Deprecated.
    • getLastEvent

      public io.temporal.api.history.v1.HistoryEvent getLastEvent()
      Deprecated.
    • getHistory

      public io.temporal.api.history.v1.History getHistory()
      Deprecated.
    • toString

      public String toString()
      Deprecated.
      Overrides:
      toString in class Object