public class SynchronousWorkflowWorker extends Object
Constructor and Description |
---|
SynchronousWorkflowWorker() |
SynchronousWorkflowWorker(AmazonSimpleWorkflow service,
String domain,
String taskListToPoll) |
Modifier and Type | Method and Description |
---|---|
void |
addWorkflowImplementationType(Class<?> workflowImplementationType) |
void |
addWorkflowImplementationType(Class<?> workflowImplementationType,
DataConverter converterOverride) |
String |
getDomain() |
String |
getIdentity() |
AmazonSimpleWorkflow |
getService() |
String |
getTaskListToPoll() |
Collection<Class<?>> |
getWorkflowImplementationTypes() |
Iterable<WorkflowType> |
getWorkflowTypesToRegister() |
boolean |
pollAndProcessSingleDecisionTask() |
void |
registerTypesToPoll() |
void |
setConverter(DataConverter converter) |
void |
setDomain(String domain) |
void |
setIdentity(String identity) |
void |
setService(AmazonSimpleWorkflow service) |
void |
setTaskListToPoll(String pollTaskList) |
void |
setWorkflowImplementationTypes(Collection<Class<?>> workflowImplementationTypes) |
public SynchronousWorkflowWorker()
public SynchronousWorkflowWorker(AmazonSimpleWorkflow service, String domain, String taskListToPoll)
public String getIdentity()
public void setIdentity(String identity)
public AmazonSimpleWorkflow getService()
public String getDomain()
public void setService(AmazonSimpleWorkflow service)
public void setDomain(String domain)
public String getTaskListToPoll()
public void setTaskListToPoll(String pollTaskList)
public boolean pollAndProcessSingleDecisionTask() throws Exception
Exception
public void setConverter(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 setWorkflowImplementationTypes(Collection<Class<?>> workflowImplementationTypes) throws InstantiationException, IllegalAccessException
public Collection<Class<?>> getWorkflowImplementationTypes()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.