Class WorkflowExecutionHistory

    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected static java.lang.String DEFAULT_WORKFLOW_ID
      Deprecated.
       
    • Constructor Summary

      Constructors 
      Constructor Description
      WorkflowExecutionHistory​(io.temporal.api.history.v1.History history)
      Deprecated.
       
      WorkflowExecutionHistory​(io.temporal.api.history.v1.History history, java.lang.String workflowId)
      Deprecated.
       
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method Description
      static WorkflowExecutionHistory fromJson​(java.lang.String serialized)
      Deprecated.
       
      java.util.List<io.temporal.api.history.v1.HistoryEvent> getEvents()
      Deprecated.
       
      io.temporal.api.history.v1.History getHistory()
      Deprecated.
       
      io.temporal.api.history.v1.HistoryEvent getLastEvent()
      Deprecated.
       
      io.temporal.api.common.v1.WorkflowExecution getWorkflowExecution()
      Deprecated.
       
      java.lang.String toJson​(boolean prettyPrint)
      Deprecated.
       
      java.lang.String toProtoText​(boolean showWorkflowTasks)
      Deprecated.
      Returns workflow instance history in a human-readable format.
      java.lang.String toString()
      Deprecated.
       
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Field Detail

      • DEFAULT_WORKFLOW_ID

        protected static final java.lang.String DEFAULT_WORKFLOW_ID
        Deprecated.
        See Also:
        Constant Field Values
    • Constructor Detail

      • WorkflowExecutionHistory

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

        public WorkflowExecutionHistory​(io.temporal.api.history.v1.History history,
                                        java.lang.String workflowId)
        Deprecated.
    • Method Detail

      • toJson

        public java.lang.String toJson​(boolean prettyPrint)
        Deprecated.
        Returns:
        full json that can be used for replay and which is compatible with tctl
      • toProtoText

        public java.lang.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 java.util.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 java.lang.String toString()
        Deprecated.
        Overrides:
        toString in class java.lang.Object