Class WorkflowHistoryLoader

java.lang.Object
io.temporal.testing.WorkflowHistoryLoader

@Experimental public final class WorkflowHistoryLoader extends 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 Details

    • readHistoryFromResource

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

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