Package io.temporal.internal.common
Class WorkflowExecutionHistory
- java.lang.Object
-
- io.temporal.internal.common.WorkflowExecutionHistory
-
- Direct Known Subclasses:
WorkflowExecutionHistory
@Deprecated public class WorkflowExecutionHistory extends java.lang.Object
Deprecated.useWorkflowExecutionHistory
instead.
-
-
Field Summary
Fields Modifier and Type Field Description protected static java.lang.String
DEFAULT_WORKFLOW_ID
Deprecated.
-
Constructor Summary
Constructors Constructor Description WorkflowExecutionHistory(io.temporal.api.history.v1.History history)
Deprecated.WorkflowExecutionHistory(io.temporal.api.history.v1.History history, java.lang.String workflowId)
Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static WorkflowExecutionHistory
fromJson(java.lang.String serialized)
Deprecated.java.util.List<io.temporal.api.history.v1.HistoryEvent>
getEvents()
Deprecated.io.temporal.api.history.v1.History
getHistory()
Deprecated.io.temporal.api.history.v1.HistoryEvent
getLastEvent()
Deprecated.io.temporal.api.common.v1.WorkflowExecution
getWorkflowExecution()
Deprecated.java.lang.String
toJson(boolean prettyPrint)
Deprecated.java.lang.String
toProtoText(boolean showWorkflowTasks)
Deprecated.Returns workflow instance history in a human-readable format.java.lang.String
toString()
Deprecated.
-
-
-
Field Detail
-
DEFAULT_WORKFLOW_ID
protected static final java.lang.String DEFAULT_WORKFLOW_ID
Deprecated.- See Also:
- Constant Field Values
-
-
Method Detail
-
fromJson
public static WorkflowExecutionHistory fromJson(java.lang.String serialized)
Deprecated.
-
toJson
public java.lang.String toJson(boolean prettyPrint)
Deprecated.- Returns:
- full json that can be used for replay and which is compatible with tctl
-
toProtoText
public java.lang.String toProtoText(boolean showWorkflowTasks)
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
public java.util.List<io.temporal.api.history.v1.HistoryEvent> getEvents()
Deprecated.
-
getLastEvent
public io.temporal.api.history.v1.HistoryEvent getLastEvent()
Deprecated.
-
getHistory
public io.temporal.api.history.v1.History getHistory()
Deprecated.
-
toString
public java.lang.String toString()
Deprecated.- Overrides:
toString
in classjava.lang.Object
-
-