Class WorkflowClientHelper

java.lang.Object
io.temporal.internal.client.WorkflowClientHelper

public final class WorkflowClientHelper extends Object
Contains different methods that could but didn't become a part of the main WorkflowClient, mostly because they shouldn't be a part of normal usage and exist for tests / debug only.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static io.temporal.api.workflow.v1.WorkflowExecutionInfo
    describeWorkflowInstance(io.temporal.serviceclient.WorkflowServiceStubs service, String namespace, io.temporal.api.common.v1.WorkflowExecution workflowExecution, com.uber.m3.tally.Scope metricsScope)
     
    static Iterator<io.temporal.api.history.v1.HistoryEvent>
    getHistory(io.temporal.serviceclient.WorkflowServiceStubs service, 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, String namespace, io.temporal.api.common.v1.WorkflowExecution workflowExecution, com.google.protobuf.ByteString nextPageToken, com.uber.m3.tally.Scope metricsScope)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • WorkflowClientHelper

      public WorkflowClientHelper()
  • Method Details

    • getHistory

      public static Iterator<io.temporal.api.history.v1.HistoryEvent> getHistory(io.temporal.serviceclient.WorkflowServiceStubs service, 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, 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, String namespace, io.temporal.api.common.v1.WorkflowExecution workflowExecution, @Nullable com.uber.m3.tally.Scope metricsScope)