com.amazonaws.services.simpleworkflow.flow
Class SynchronousWorkflowWorker
java.lang.Object
com.amazonaws.services.simpleworkflow.flow.SynchronousWorkflowWorker
public class SynchronousWorkflowWorker
- extends java.lang.Object
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SynchronousWorkflowWorker
public SynchronousWorkflowWorker()
SynchronousWorkflowWorker
public SynchronousWorkflowWorker(AmazonSimpleWorkflow service,
java.lang.String domain,
java.lang.String taskListToPoll)
getIdentity
public java.lang.String getIdentity()
setIdentity
public void setIdentity(java.lang.String identity)
getService
public AmazonSimpleWorkflow getService()
getDomain
public java.lang.String getDomain()
setService
public void setService(AmazonSimpleWorkflow service)
setDomain
public void setDomain(java.lang.String domain)
getTaskListToPoll
public java.lang.String getTaskListToPoll()
setTaskListToPoll
public void setTaskListToPoll(java.lang.String pollTaskList)
pollAndProcessSingleDecisionTask
public boolean pollAndProcessSingleDecisionTask()
throws java.lang.Exception
- Throws:
java.lang.Exception
setConverter
public void setConverter(DataConverter converter)
getWorkflowTypesToRegister
public java.lang.Iterable<WorkflowType> getWorkflowTypesToRegister()
addWorkflowImplementationType
public void addWorkflowImplementationType(java.lang.Class<?> workflowImplementationType)
throws java.lang.InstantiationException,
java.lang.IllegalAccessException
- Throws:
java.lang.InstantiationException
java.lang.IllegalAccessException
addWorkflowImplementationType
public void addWorkflowImplementationType(java.lang.Class<?> workflowImplementationType,
DataConverter converterOverride)
throws java.lang.InstantiationException,
java.lang.IllegalAccessException
- Throws:
java.lang.InstantiationException
java.lang.IllegalAccessException
setWorkflowImplementationTypes
public void setWorkflowImplementationTypes(java.util.Collection<java.lang.Class<?>> workflowImplementationTypes)
throws java.lang.InstantiationException,
java.lang.IllegalAccessException
- Throws:
java.lang.InstantiationException
java.lang.IllegalAccessException
getWorkflowImplementationTypes
public java.util.Collection<java.lang.Class<?>> getWorkflowImplementationTypes()
registerTypesToPoll
public void registerTypesToPoll()
throws java.lang.Exception
- Throws:
java.lang.Exception
Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.