Did this page help you?

   Yes   No   Tell us about it...

com.amazonaws.services.simpleworkflow.flow
Class SynchronousWorkflowWorker

java.lang.Object
  extended by com.amazonaws.services.simpleworkflow.flow.SynchronousWorkflowWorker

public class SynchronousWorkflowWorker
extends Object


Constructor Summary
SynchronousWorkflowWorker()
           
SynchronousWorkflowWorker(AmazonSimpleWorkflow service, String domain, String taskListToPoll)
           
 
Method Summary
 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)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SynchronousWorkflowWorker

public SynchronousWorkflowWorker()

SynchronousWorkflowWorker

public SynchronousWorkflowWorker(AmazonSimpleWorkflow service,
                                 String domain,
                                 String taskListToPoll)
Method Detail

getIdentity

public String getIdentity()

setIdentity

public void setIdentity(String identity)

getService

public AmazonSimpleWorkflow getService()

getDomain

public String getDomain()

setService

public void setService(AmazonSimpleWorkflow service)

setDomain

public void setDomain(String domain)

getTaskListToPoll

public String getTaskListToPoll()

setTaskListToPoll

public void setTaskListToPoll(String pollTaskList)

pollAndProcessSingleDecisionTask

public boolean pollAndProcessSingleDecisionTask()
                                         throws Exception
Throws:
Exception

setConverter

public void setConverter(DataConverter converter)

getWorkflowTypesToRegister

public Iterable<WorkflowType> getWorkflowTypesToRegister()

addWorkflowImplementationType

public void addWorkflowImplementationType(Class<?> workflowImplementationType)
                                   throws InstantiationException,
                                          IllegalAccessException
Throws:
InstantiationException
IllegalAccessException

addWorkflowImplementationType

public void addWorkflowImplementationType(Class<?> workflowImplementationType,
                                          DataConverter converterOverride)
                                   throws InstantiationException,
                                          IllegalAccessException
Throws:
InstantiationException
IllegalAccessException

setWorkflowImplementationTypes

public void setWorkflowImplementationTypes(Collection<Class<?>> workflowImplementationTypes)
                                    throws InstantiationException,
                                           IllegalAccessException
Throws:
InstantiationException
IllegalAccessException

getWorkflowImplementationTypes

public Collection<Class<?>> getWorkflowImplementationTypes()

registerTypesToPoll

public void registerTypesToPoll()
                         throws Exception
Throws:
Exception


Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.