public class TestPOJOWorkflowImplementationGenericWorkflowClient extends Object implements GenericWorkflowClient
Constructor and Description |
---|
TestPOJOWorkflowImplementationGenericWorkflowClient() |
public TestPOJOWorkflowImplementationGenericWorkflowClient()
public DecisionContextProvider getDecisionContextProvider()
public void setDecisionContextProvider(DecisionContextProvider decisionContextProvider)
public Promise<StartChildWorkflowReply> startChildWorkflow(StartChildWorkflowExecutionParameters parameters)
GenericWorkflowClient
startChildWorkflow
in interface GenericWorkflowClient
StartChildWorkflowReply.getResult()
becomes ready upon
child completion.public Promise<String> startChildWorkflow(String workflow, String version, String input)
startChildWorkflow
in interface GenericWorkflowClient
public Promise<String> startChildWorkflow(String workflow, String version, Promise<String> input)
startChildWorkflow
in interface GenericWorkflowClient
public Promise<Void> signalWorkflowExecution(SignalExternalWorkflowParameters signalParameters)
signalWorkflowExecution
in interface GenericWorkflowClient
public void requestCancelWorkflowExecution(WorkflowExecution execution)
requestCancelWorkflowExecution
in interface GenericWorkflowClient
public String getWorkflowState(WorkflowExecution execution) throws WorkflowException
WorkflowException
public void continueAsNewOnCompletion(ContinueAsNewWorkflowExecutionParameters parameters)
continueAsNewOnCompletion
in interface GenericWorkflowClient
public String generateUniqueId()
GenericWorkflowClient
generateUniqueId
in interface GenericWorkflowClient
public void setDataConverter(DataConverter converter)
public Iterable<WorkflowType> getWorkflowTypesToRegister()
public void addWorkflowImplementationType(Class<?> workflowImplementationType) throws InstantiationException, IllegalAccessException
public void addWorkflowImplementationType(Class<?> workflowImplementationType, DataConverter converterOverride) throws InstantiationException, IllegalAccessException
public void addWorkflowImplementationType(Class<?> workflowImplementationType, DataConverter converterOverride, Object[] constructorArgs) throws InstantiationException, IllegalAccessException
public void setWorkflowImplementationTypes(Collection<Class<?>> workflowImplementationTypes) throws InstantiationException, IllegalAccessException