public final class GenericWorkflowClientExternalImpl extends java.lang.Object implements GenericWorkflowClientExternal
Constructor and Description |
---|
GenericWorkflowClientExternalImpl(IWorkflowService service,
java.lang.String domain,
com.uber.m3.tally.Scope metricsScope) |
public GenericWorkflowClientExternalImpl(IWorkflowService service, java.lang.String domain, com.uber.m3.tally.Scope metricsScope)
public java.lang.String getDomain()
getDomain
in interface GenericWorkflowClientExternal
public IWorkflowService getService()
getService
in interface GenericWorkflowClientExternal
public WorkflowExecution startWorkflow(StartWorkflowExecutionParameters startParameters) throws WorkflowExecutionAlreadyStartedError
startWorkflow
in interface GenericWorkflowClientExternal
WorkflowExecutionAlreadyStartedError
public java.util.concurrent.CompletableFuture<WorkflowExecution> startWorkflowAsync(StartWorkflowExecutionParameters startParameters)
startWorkflowAsync
in interface GenericWorkflowClientExternal
public java.util.concurrent.CompletableFuture<WorkflowExecution> startWorkflowAsync(StartWorkflowExecutionParameters startParameters, java.lang.Long timeoutInMillis)
startWorkflowAsync
in interface GenericWorkflowClientExternal
public void signalWorkflowExecution(SignalExternalWorkflowParameters signalParameters)
signalWorkflowExecution
in interface GenericWorkflowClientExternal
public java.util.concurrent.CompletableFuture<java.lang.Void> signalWorkflowExecutionAsync(SignalExternalWorkflowParameters signalParameters)
signalWorkflowExecutionAsync
in interface GenericWorkflowClientExternal
public java.util.concurrent.CompletableFuture<java.lang.Void> signalWorkflowExecutionAsync(SignalExternalWorkflowParameters signalParameters, java.lang.Long timeoutInMillis)
signalWorkflowExecutionAsync
in interface GenericWorkflowClientExternal
public WorkflowExecution signalWithStartWorkflowExecution(SignalWithStartWorkflowExecutionParameters parameters)
signalWithStartWorkflowExecution
in interface GenericWorkflowClientExternal
public void requestCancelWorkflowExecution(WorkflowExecution execution)
requestCancelWorkflowExecution
in interface GenericWorkflowClientExternal
public 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