Package io.temporal.internal.client
Class WorkflowClientHelper
- java.lang.Object
-
- io.temporal.internal.client.WorkflowClientHelper
-
public final class WorkflowClientHelper extends java.lang.Object
Contains different methods that could but didn't become a part of the mainWorkflowClient
, mostly because they shouldn't be a part of normal usage and exist for tests / debug only.
-
-
Constructor Summary
Constructors Constructor Description WorkflowClientHelper()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method 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)
-
-
-
Method Detail
-
getHistory
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)
-
getHistoryPage
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)
-
describeWorkflowInstance
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, @Nullable com.uber.m3.tally.Scope metricsScope)
-
-