com.amazonaws.services.simpleworkflow.flow.junit.spring
Class SpringTestPOJOWorkflowImplementationGenericWorkflowClient
java.lang.Object
com.amazonaws.services.simpleworkflow.flow.junit.spring.SpringTestPOJOWorkflowImplementationGenericWorkflowClient
- All Implemented Interfaces:
- GenericWorkflowClient
public class SpringTestPOJOWorkflowImplementationGenericWorkflowClient
- extends Object
- implements GenericWorkflowClient
SpringTestPOJOWorkflowImplementationGenericWorkflowClient
public SpringTestPOJOWorkflowImplementationGenericWorkflowClient()
setWorkflowImplementations
public void setWorkflowImplementations(Iterable<Object> workflowImplementations)
throws InstantiationException,
IllegalAccessException
- Throws:
InstantiationException
IllegalAccessException
getWorkflowImplementations
public Iterable<Object> getWorkflowImplementations()
addWorkflowImplementation
public void addWorkflowImplementation(Object workflowImplementation)
throws InstantiationException,
IllegalAccessException
- Throws:
InstantiationException
IllegalAccessException
getDecisionContextProvider
public DecisionContextProvider getDecisionContextProvider()
setDecisionContextProvider
public void setDecisionContextProvider(DecisionContextProvider decisionContextProvider)
startChildWorkflow
public Promise<StartChildWorkflowReply> startChildWorkflow(StartChildWorkflowExecutionParameters parameters)
- Description copied from interface:
GenericWorkflowClient
- Start child workflow.
- Specified by:
startChildWorkflow in interface GenericWorkflowClient
- Returns:
- becomes ready when child successfully started.
StartChildWorkflowReply.getResult() becomes ready upon
child completion.
startChildWorkflow
public Promise<String> startChildWorkflow(String workflow,
String version,
String input)
- Specified by:
startChildWorkflow in interface GenericWorkflowClient
startChildWorkflow
public Promise<String> startChildWorkflow(String workflow,
String version,
Promise<String> input)
- Specified by:
startChildWorkflow in interface GenericWorkflowClient
signalWorkflowExecution
public Promise<Void> signalWorkflowExecution(SignalExternalWorkflowParameters signalParameters)
- Specified by:
signalWorkflowExecution in interface GenericWorkflowClient
requestCancelWorkflowExecution
public void requestCancelWorkflowExecution(WorkflowExecution execution)
- Specified by:
requestCancelWorkflowExecution in interface GenericWorkflowClient
getWorkflowState
public String getWorkflowState(WorkflowExecution execution)
throws WorkflowException
- Throws:
WorkflowException
continueAsNewOnCompletion
public void continueAsNewOnCompletion(ContinueAsNewWorkflowExecutionParameters parameters)
- Specified by:
continueAsNewOnCompletion in interface GenericWorkflowClient
generateUniqueId
public String generateUniqueId()
- Description copied from interface:
GenericWorkflowClient
- Deterministic unique Id generator
- Specified by:
generateUniqueId in interface GenericWorkflowClient
getDataConverter
public DataConverter getDataConverter()
setDataConverter
public void setDataConverter(DataConverter converter)
getWorkflowTypesToRegister
public Iterable<WorkflowType> getWorkflowTypesToRegister()
Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.