Class WorkflowHistoryLoader
java.lang.Object
io.temporal.testing.WorkflowHistoryLoader
Expose methods to read and deserialize workflow execution history from json.
To be used with
To be used with
WorkflowReplayer
2021-11-29 Experimental because the user facing interface to history replay functionality is actively evolving.
-
Method Summary
Modifier and TypeMethodDescriptionstatic io.temporal.common.WorkflowExecutionHistoryreadHistory(File historyFile) static io.temporal.common.WorkflowExecutionHistoryreadHistoryFromResource(String resourceFileName)
-
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
-