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)
GenericWorkflowClientstartChildWorkflow in interface GenericWorkflowClientStartChildWorkflowReply.getResult() becomes ready upon
child completion.public Promise<String> startChildWorkflow(String workflow, String version, String input)
startChildWorkflow in interface GenericWorkflowClientpublic Promise<String> startChildWorkflow(String workflow, String version, Promise<String> input)
startChildWorkflow in interface GenericWorkflowClientpublic Promise<Void> signalWorkflowExecution(SignalExternalWorkflowParameters signalParameters)
signalWorkflowExecution in interface GenericWorkflowClientpublic void requestCancelWorkflowExecution(WorkflowExecution execution)
requestCancelWorkflowExecution in interface GenericWorkflowClientpublic String getWorkflowState(WorkflowExecution execution) throws WorkflowException
WorkflowExceptionpublic void continueAsNewOnCompletion(ContinueAsNewWorkflowExecutionParameters parameters)
continueAsNewOnCompletion in interface GenericWorkflowClientpublic String generateUniqueId()
GenericWorkflowClientgenerateUniqueId in interface GenericWorkflowClientpublic 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
Copyright © 2016. All rights reserved.