public abstract class WorkflowClientBase extends Object implements WorkflowClient
Modifier and Type | Field and Description |
---|---|
protected DynamicWorkflowClientImpl |
dynamicWorkflowClient |
Modifier | Constructor and Description |
---|---|
protected |
WorkflowClientBase(WorkflowExecution workflowExecution,
WorkflowType workflowType,
StartWorkflowOptions options,
DataConverter dataConverter,
GenericWorkflowClient genericClient) |
Modifier and Type | Method and Description |
---|---|
DataConverter |
getDataConverter() |
GenericWorkflowClient |
getGenericClient() |
Promise<String> |
getRunId() |
StartWorkflowOptions |
getSchedulingOptions() |
WorkflowExecution |
getWorkflowExecution() |
WorkflowType |
getWorkflowType() |
void |
requestCancelWorkflowExecution(Promise<?>... waitFor) |
protected void |
signalWorkflowExecution(String signalName,
Object[] arguments,
Promise<?>... waitFor) |
protected <T> Promise<T> |
startWorkflowExecution(Object[] arguments,
StartWorkflowOptions startOptionsOverride,
Class<T> returnType,
Promise<?>... waitFor) |
protected <T> Promise<T> |
startWorkflowExecution(Promise<Object>[] arguments,
StartWorkflowOptions startOptionsOverride,
Class<T> returnType,
Promise<?>... waitFor) |
protected final DynamicWorkflowClientImpl dynamicWorkflowClient
protected WorkflowClientBase(WorkflowExecution workflowExecution, WorkflowType workflowType, StartWorkflowOptions options, DataConverter dataConverter, GenericWorkflowClient genericClient)
public DataConverter getDataConverter()
getDataConverter
in interface WorkflowClient
public StartWorkflowOptions getSchedulingOptions()
getSchedulingOptions
in interface WorkflowClient
public GenericWorkflowClient getGenericClient()
getGenericClient
in interface WorkflowClient
public Promise<String> getRunId()
getRunId
in interface WorkflowClient
public WorkflowExecution getWorkflowExecution()
getWorkflowExecution
in interface WorkflowClient
public WorkflowType getWorkflowType()
getWorkflowType
in interface WorkflowClient
public void requestCancelWorkflowExecution(Promise<?>... waitFor)
requestCancelWorkflowExecution
in interface WorkflowClient
protected <T> Promise<T> startWorkflowExecution(Promise<Object>[] arguments, StartWorkflowOptions startOptionsOverride, Class<T> returnType, Promise<?>... waitFor)
protected <T> Promise<T> startWorkflowExecution(Object[] arguments, StartWorkflowOptions startOptionsOverride, Class<T> returnType, Promise<?>... waitFor)
Copyright © 2014. All rights reserved.