public final class GenericWorkflowClientExternalImpl extends java.lang.Object implements GenericWorkflowClientExternal
Constructor and Description |
---|
GenericWorkflowClientExternalImpl(WorkflowServiceStubs service,
java.lang.String namespace,
java.lang.String identity,
com.uber.m3.tally.Scope metricsScope) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
generateUniqueId() |
java.lang.String |
getNamespace() |
WorkflowServiceStubs |
getService() |
io.temporal.proto.workflowservice.QueryWorkflowResponse |
queryWorkflow(QueryWorkflowParameters queryParameters) |
void |
requestCancelWorkflowExecution(io.temporal.proto.execution.WorkflowExecution execution) |
io.temporal.proto.execution.WorkflowExecution |
signalWithStartWorkflowExecution(SignalWithStartWorkflowExecutionParameters parameters) |
void |
signalWorkflowExecution(SignalExternalWorkflowParameters signalParameters) |
io.temporal.proto.execution.WorkflowExecution |
startWorkflow(StartWorkflowExecutionParameters startParameters) |
void |
terminateWorkflowExecution(TerminateWorkflowExecutionParameters terminateParameters) |
public GenericWorkflowClientExternalImpl(WorkflowServiceStubs service, java.lang.String namespace, java.lang.String identity, com.uber.m3.tally.Scope metricsScope)
public java.lang.String getNamespace()
getNamespace
in interface GenericWorkflowClientExternal
public WorkflowServiceStubs getService()
getService
in interface GenericWorkflowClientExternal
public io.temporal.proto.execution.WorkflowExecution startWorkflow(StartWorkflowExecutionParameters startParameters)
startWorkflow
in interface GenericWorkflowClientExternal
public void signalWorkflowExecution(SignalExternalWorkflowParameters signalParameters)
signalWorkflowExecution
in interface GenericWorkflowClientExternal
public io.temporal.proto.execution.WorkflowExecution signalWithStartWorkflowExecution(SignalWithStartWorkflowExecutionParameters parameters)
signalWithStartWorkflowExecution
in interface GenericWorkflowClientExternal
public void requestCancelWorkflowExecution(io.temporal.proto.execution.WorkflowExecution execution)
requestCancelWorkflowExecution
in interface GenericWorkflowClientExternal
public io.temporal.proto.workflowservice.QueryWorkflowResponse queryWorkflow(QueryWorkflowParameters queryParameters)
queryWorkflow
in interface GenericWorkflowClientExternal
public java.lang.String generateUniqueId()
generateUniqueId
in interface GenericWorkflowClientExternal
public void terminateWorkflowExecution(TerminateWorkflowExecutionParameters terminateParameters)
terminateWorkflowExecution
in interface GenericWorkflowClientExternal