public abstract class WorkflowClientExternalBase extends Object implements WorkflowClientExternal
Modifier and Type | Field and Description |
---|---|
protected DynamicWorkflowClientExternal |
dynamicWorkflowClient |
Constructor and Description |
---|
WorkflowClientExternalBase(WorkflowExecution workflowExecution,
WorkflowType workflowType,
StartWorkflowOptions options,
DataConverter dataConverter,
GenericWorkflowClientExternal genericClient) |
Modifier and Type | Method and Description |
---|---|
protected <T> T |
defaultPrimitiveValue(Class<T> clazz) |
DataConverter |
getDataConverter() |
GenericWorkflowClientExternal |
getGenericClient() |
StartWorkflowOptions |
getSchedulingOptions() |
WorkflowExecution |
getWorkflowExecution() |
void |
requestCancelWorkflowExecution() |
protected void |
signalWorkflowExecution(String signalName,
Object[] arguments) |
protected void |
startWorkflowExecution(Object[] arguments) |
protected void |
startWorkflowExecution(Object[] arguments,
StartWorkflowOptions startOptionsOverride) |
void |
terminateWorkflowExecution(String reason,
String details,
ChildPolicy childPolicy) |
protected final DynamicWorkflowClientExternal dynamicWorkflowClient
public WorkflowClientExternalBase(WorkflowExecution workflowExecution, WorkflowType workflowType, StartWorkflowOptions options, DataConverter dataConverter, GenericWorkflowClientExternal genericClient)
public void requestCancelWorkflowExecution()
requestCancelWorkflowExecution
in interface WorkflowClientExternal
public void terminateWorkflowExecution(String reason, String details, ChildPolicy childPolicy)
terminateWorkflowExecution
in interface WorkflowClientExternal
public DataConverter getDataConverter()
getDataConverter
in interface WorkflowClientExternal
public StartWorkflowOptions getSchedulingOptions()
getSchedulingOptions
in interface WorkflowClientExternal
public GenericWorkflowClientExternal getGenericClient()
getGenericClient
in interface WorkflowClientExternal
public WorkflowExecution getWorkflowExecution()
getWorkflowExecution
in interface WorkflowClientExternal
protected void startWorkflowExecution(Object[] arguments, StartWorkflowOptions startOptionsOverride)
protected void startWorkflowExecution(Object[] arguments)
protected void signalWorkflowExecution(String signalName, Object[] arguments)
protected <T> T defaultPrimitiveValue(Class<T> clazz)
Copyright © 2014. All rights reserved.