Class TestServiceUtils
java.lang.Object
io.temporal.testing.internal.TestServiceUtils
-
Method Summary
Modifier and TypeMethodDescriptionstatic io.temporal.worker.WorkflowImplementationOptionsapplyNexusServiceOptions(io.temporal.worker.WorkflowImplementationOptions options, Object[] nexusServiceImplementations, String endpoint) static io.temporal.api.workflowservice.v1.PollWorkflowTaskQueueResponsepollWorkflowTaskQueue(String namespace, io.temporal.api.taskqueue.v1.TaskQueue taskqueue, io.temporal.serviceclient.WorkflowServiceStubs service) static voidrespondWorkflowTaskCompletedWithSticky(com.google.protobuf.ByteString taskToken, io.temporal.api.taskqueue.v1.TaskQueue stickyTaskQueue, io.temporal.serviceclient.WorkflowServiceStubs service) static voidrespondWorkflowTaskCompletedWithSticky(com.google.protobuf.ByteString taskToken, io.temporal.api.taskqueue.v1.TaskQueue stickyTaskQueue, Duration startToCloseTimeout, io.temporal.serviceclient.WorkflowServiceStubs service) static voidrespondWorkflowTaskFailedWithSticky(com.google.protobuf.ByteString taskToken, io.temporal.serviceclient.WorkflowServiceStubs service) static voidsignalWorkflow(io.temporal.api.common.v1.WorkflowExecution workflowExecution, String namespace, io.temporal.serviceclient.WorkflowServiceStubs service) static voidstartWorkflowExecution(String namespace, String taskqueueName, String workflowType, io.temporal.serviceclient.WorkflowServiceStubs service) static voidstartWorkflowExecution(String namespace, String taskqueueName, String workflowType, Duration workflowRunTimeout, Duration workflowTaskTimeout, io.temporal.serviceclient.WorkflowServiceStubs service)
-
Method Details
-
applyNexusServiceOptions
-
startWorkflowExecution
-
startWorkflowExecution
-
respondWorkflowTaskCompletedWithSticky
-
respondWorkflowTaskCompletedWithSticky
-
respondWorkflowTaskFailedWithSticky
-
pollWorkflowTaskQueue
-
signalWorkflow
-