public class GenericWorkflowWorker extends GenericWorker
Constructor and Description |
---|
GenericWorkflowWorker() |
GenericWorkflowWorker(AmazonSimpleWorkflow service,
String domain,
String taskListToPoll) |
Modifier and Type | Method and Description |
---|---|
WorkflowDefinitionFactoryFactory |
getWorkflowDefinitionFactoryFactory() |
void |
registerTypesToPoll()
Try to register every type (activity or workflow depending on worker)
that are configured with the worker.
|
static void |
registerWorkflowType(AmazonSimpleWorkflow service,
String domain,
WorkflowType workflowType,
WorkflowTypeRegistrationOptions registrationOptions,
String defaultTaskList) |
static void |
registerWorkflowTypes(AmazonSimpleWorkflow service,
String domain,
String defaultTaskList,
WorkflowDefinitionFactoryFactory workflowDefinitionFactoryFactory) |
void |
setWorkflowDefinitionFactoryFactory(WorkflowDefinitionFactoryFactory workflowDefinitionFactoryFactory) |
String |
toString() |
awaitTermination, getDomain, getDomainRetentionPeriodInDays, getIdentity, getMaximumPollRateIntervalMilliseconds, getMaximumPollRatePerSecond, getPollBackoffCoefficient, getPollBackoffInitialInterval, getPollBackoffMaximumInterval, getPollThreadCount, getService, getTaskListToPoll, getUncaughtExceptionHandler, isDisableServiceShutdownOnStop, isDisableTypeRegistrationOnStart, isRegisterDomain, isRunning, resumePolling, setDisableServiceShutdownOnStop, setDisableTypeRegistrationOnStart, setDomain, setDomainRetentionPeriodInDays, setIdentity, setMaximumPollRateIntervalMilliseconds, setMaximumPollRatePerSecond, setPollBackoffCoefficient, setPollBackoffInitialInterval, setPollBackoffMaximumInterval, setPollThreadCount, setRegisterDomain, setService, setTaskListToPoll, setUncaughtExceptionHandler, shutdown, shutdownAndAwaitTermination, shutdownNow, start, suspendPolling
public GenericWorkflowWorker()
public GenericWorkflowWorker(AmazonSimpleWorkflow service, String domain, String taskListToPoll)
public WorkflowDefinitionFactoryFactory getWorkflowDefinitionFactoryFactory()
public void setWorkflowDefinitionFactoryFactory(WorkflowDefinitionFactoryFactory workflowDefinitionFactoryFactory)
public void registerTypesToPoll()
WorkerBase
public String toString()
toString
in class GenericWorker
public static void registerWorkflowTypes(AmazonSimpleWorkflow service, String domain, String defaultTaskList, WorkflowDefinitionFactoryFactory workflowDefinitionFactoryFactory)
public static void registerWorkflowType(AmazonSimpleWorkflow service, String domain, WorkflowType workflowType, WorkflowTypeRegistrationOptions registrationOptions, String defaultTaskList)