public class SpringTestPOJOWorkflowImplementationGenericWorkflowClient extends Object implements GenericWorkflowClient
Constructor and Description |
---|
SpringTestPOJOWorkflowImplementationGenericWorkflowClient() |
public SpringTestPOJOWorkflowImplementationGenericWorkflowClient()
public void setWorkflowImplementations(Iterable<Object> workflowImplementations) throws InstantiationException, IllegalAccessException
public void addWorkflowImplementation(Object workflowImplementation) throws InstantiationException, IllegalAccessException
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 DataConverter getDataConverter()
public void setDataConverter(DataConverter converter)
public Iterable<WorkflowType> getWorkflowTypesToRegister()