public final class WorkflowClientHelper
extends java.lang.Object
WorkflowClient
, mostly because they shouldn't be a part of normal usage and exist for tests /
debug only.Constructor and Description |
---|
WorkflowClientHelper() |
Modifier and Type | Method and Description |
---|---|
static io.temporal.api.workflow.v1.WorkflowExecutionInfo |
describeWorkflowInstance(io.temporal.serviceclient.WorkflowServiceStubs service,
java.lang.String namespace,
io.temporal.api.common.v1.WorkflowExecution workflowExecution,
com.uber.m3.tally.Scope metricsScope) |
static java.util.Iterator<io.temporal.api.history.v1.HistoryEvent> |
getHistory(io.temporal.serviceclient.WorkflowServiceStubs service,
java.lang.String namespace,
io.temporal.api.common.v1.WorkflowExecution workflowExecution,
com.uber.m3.tally.Scope metricsScope) |
static io.temporal.api.workflowservice.v1.GetWorkflowExecutionHistoryResponse |
getHistoryPage(io.temporal.serviceclient.WorkflowServiceStubs service,
java.lang.String namespace,
io.temporal.api.common.v1.WorkflowExecution workflowExecution,
com.google.protobuf.ByteString nextPageToken,
com.uber.m3.tally.Scope metricsScope) |
static java.lang.String |
prettyPrintHistory(io.temporal.serviceclient.WorkflowServiceStubs service,
java.lang.String namespace,
io.temporal.api.common.v1.WorkflowExecution workflowExecution,
boolean showWorkflowTasks,
com.uber.m3.tally.Scope metricsScope)
Returns workflow instance history in a human readable format.
|
static java.lang.String |
prettyPrintHistory(io.temporal.serviceclient.WorkflowServiceStubs service,
java.lang.String namespace,
io.temporal.api.common.v1.WorkflowExecution workflowExecution,
com.uber.m3.tally.Scope metricsScope)
Returns workflow instance history in a human readable format.
|
public static java.lang.String prettyPrintHistory(io.temporal.serviceclient.WorkflowServiceStubs service, java.lang.String namespace, io.temporal.api.common.v1.WorkflowExecution workflowExecution, com.uber.m3.tally.Scope metricsScope)
public static java.lang.String prettyPrintHistory(io.temporal.serviceclient.WorkflowServiceStubs service, java.lang.String namespace, io.temporal.api.common.v1.WorkflowExecution workflowExecution, boolean showWorkflowTasks, com.uber.m3.tally.Scope metricsScope)
showWorkflowTasks
- when set to false workflow task events (command events) are not
includedmetricsScope
- public static java.util.Iterator<io.temporal.api.history.v1.HistoryEvent> getHistory(io.temporal.serviceclient.WorkflowServiceStubs service, java.lang.String namespace, io.temporal.api.common.v1.WorkflowExecution workflowExecution, com.uber.m3.tally.Scope metricsScope)
public static io.temporal.api.workflowservice.v1.GetWorkflowExecutionHistoryResponse getHistoryPage(io.temporal.serviceclient.WorkflowServiceStubs service, java.lang.String namespace, io.temporal.api.common.v1.WorkflowExecution workflowExecution, com.google.protobuf.ByteString nextPageToken, com.uber.m3.tally.Scope metricsScope)
public static io.temporal.api.workflow.v1.WorkflowExecutionInfo describeWorkflowInstance(io.temporal.serviceclient.WorkflowServiceStubs service, java.lang.String namespace, io.temporal.api.common.v1.WorkflowExecution workflowExecution, com.uber.m3.tally.Scope metricsScope)