Class WorkflowExecutionHistory
java.lang.Object
io.temporal.internal.common.WorkflowExecutionHistory
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionWorkflowExecutionHistory(io.temporal.api.history.v1.History history) Deprecated.WorkflowExecutionHistory(io.temporal.api.history.v1.History history, String workflowId) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionstatic StringextractWorkflowId(io.temporal.api.history.v1.History history) Deprecated.static WorkflowExecutionHistoryDeprecated.List<io.temporal.api.history.v1.HistoryEvent> Deprecated.io.temporal.api.history.v1.HistoryDeprecated.io.temporal.api.history.v1.HistoryEventDeprecated.io.temporal.api.common.v1.WorkflowExecutionDeprecated.toJson(boolean prettyPrint) Deprecated.toJson(boolean prettyPrint, boolean legacyFormat) Deprecated.toProtoText(boolean showWorkflowTasks) Deprecated.Returns workflow instance history in a human-readable format.toString()Deprecated.
-
Field Details
-
DEFAULT_WORKFLOW_ID
-
-
Constructor Details
-
WorkflowExecutionHistory
public WorkflowExecutionHistory(io.temporal.api.history.v1.History history) Deprecated. -
WorkflowExecutionHistory
Deprecated.
-
-
Method Details
-
extractWorkflowId
Deprecated. -
fromJson
Deprecated. -
toJson
Deprecated.- Parameters:
prettyPrint- Whether to pretty print the JSON.- Returns:
- Full json that can be used for replay.
-
toJson
Deprecated.- Parameters:
prettyPrint- Whether to pretty print the JSON.legacyFormat- If true, will use the older-style protobuf enum formatting as done by Temporal tooling in the past. This is not recommended.- Returns:
- Full JSON that can be used for replay.
-
toProtoText
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
Deprecated. -
getLastEvent
public io.temporal.api.history.v1.HistoryEvent getLastEvent()Deprecated. -
getHistory
public io.temporal.api.history.v1.History getHistory()Deprecated. -
toString
-
WorkflowExecutionHistoryinstead.