Class WorkflowHistoryLoader


  • public final class WorkflowHistoryLoader
    extends java.lang.Object
    Expose methods to read and deserialize workflow execution history from json.
    To be used with WorkflowReplayer

    2021-11-29 Experimental because the user facing interface to history replay functionality is actively evolving.

    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static io.temporal.common.WorkflowExecutionHistory readHistory​(java.io.File historyFile)  
      static io.temporal.common.WorkflowExecutionHistory readHistoryFromResource​(java.lang.String resourceFileName)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • readHistoryFromResource

        public static io.temporal.common.WorkflowExecutionHistory readHistoryFromResource​(java.lang.String resourceFileName)
                                                                                   throws java.io.IOException
        Throws:
        java.io.IOException
      • readHistory

        public static io.temporal.common.WorkflowExecutionHistory readHistory​(java.io.File historyFile)
                                                                       throws java.io.IOException
        Throws:
        java.io.IOException