Package io.temporal.testing
Class WorkflowHistoryLoader
- java.lang.Object
-
- io.temporal.testing.WorkflowHistoryLoader
-
public final class WorkflowHistoryLoader extends java.lang.Object
Expose methods to read and deserialize workflow execution history from json.
To be used withWorkflowReplayer
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)
-
-
-
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
-
-