com.amazonaws.services.simpleworkflow.flow.worker

## クラス GenericWorkflowWorker

- java.lang.Object
- - com.amazonaws.services.simpleworkflow.flow.worker.GenericWorker
  - - com.amazonaws.services.simpleworkflow.flow.worker.GenericWorkflowWorker

- すべての実装されたインタフェース:
    Suspendable, SuspendableWorker, WorkerBase, WorkerLifecycle

      public class GenericWorkflowWorker
      extends GenericWorker

- - ### フィールドの概要

    - ### クラスから継承されたフィールド com.amazonaws.services.simpleworkflow.flow.worker.GenericWorker

      `domain, domainRetentionPeriodInDays, MAX_IDENTITY_LENGTH, registerDomain, service, suspendLatch, uncaughtExceptionHandler`

  - ### コンストラクタの概要

    コンストラクタ
    コンストラクタと説明
    `GenericWorkflowWorker()`
    `GenericWorkflowWorker(AmazonSimpleWorkflow service, java.lang.String domain, java.lang.String taskListToPoll)`

  - ### メソッドの概要

    メソッド
    修飾子とタイプ | メソッドと説明
    --- | ---
    `protected void` | `checkRequredProperties()`
    `protected TaskPoller` | `createPoller()`
    `protected DecisionTaskPoller` | `createWorkflowPoller()`
    `protected java.lang.String` | `getPollThreadNamePrefix()`
    `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, java.lang.String domain, WorkflowType workflowType, WorkflowTypeRegistrationOptions registrationOptions, java.lang.String defaultTaskList)`
    `static void` | `registerWorkflowTypes(AmazonSimpleWorkflow service, java.lang.String domain, java.lang.String defaultTaskList, WorkflowDefinitionFactoryFactory workflowDefinitionFactoryFactory)`
    `void` | `setWorkflowDefinitionFactoryFactory(WorkflowDefinitionFactoryFactory workflowDefinitionFactoryFactory)`
    `java.lang.String` | `toString()`

    - ### クラスから継承されたメソッド com.amazonaws.services.simpleworkflow.flow.worker.GenericWorker

      `awaitTermination, checkRequiredProperty, checkStarted, 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`

    - ### クラスから継承されたメソッド java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- - ### コンストラクタの詳細

    - #### GenericWorkflowWorker

          public GenericWorkflowWorker()

    - #### GenericWorkflowWorker

          public GenericWorkflowWorker(AmazonSimpleWorkflow service,
                               java.lang.String domain,
                               java.lang.String taskListToPoll)

  - ### メソッドの詳細

    - #### getWorkflowDefinitionFactoryFactory

          public WorkflowDefinitionFactoryFactory getWorkflowDefinitionFactoryFactory()

    - #### setWorkflowDefinitionFactoryFactory

          public void setWorkflowDefinitionFactoryFactory(WorkflowDefinitionFactoryFactory workflowDefinitionFactoryFactory)

    - #### createWorkflowPoller

          protected DecisionTaskPoller createWorkflowPoller()

    - #### checkRequredProperties

          protected void checkRequredProperties()

      定義:
        `checkRequredProperties` クラス内 `GenericWorker`

    - #### getPollThreadNamePrefix

          protected java.lang.String getPollThreadNamePrefix()

      定義:
        `getPollThreadNamePrefix` クラス内 `GenericWorker`

    - #### createPoller

          protected TaskPoller createPoller()

      定義:
        `createPoller` クラス内 `GenericWorker`

    - #### registerTypesToPoll

          public void registerTypesToPoll()

      インタフェースからコピーされた説明: `WorkerBase`
      Try to register every type (activity or workflow depending on worker) that are configured with the worker.
      関連項目:
        `WorkerBase.setDisableTypeRegistrationOnStart(boolean)`

    - #### toString

          public java.lang.String toString()

      オーバーライド:
        `toString` クラス内 `GenericWorker`

    - #### registerWorkflowTypes

          public static void registerWorkflowTypes(AmazonSimpleWorkflow service,
                                   java.lang.String domain,
                                   java.lang.String defaultTaskList,
                                   WorkflowDefinitionFactoryFactory workflowDefinitionFactoryFactory)

    - #### registerWorkflowType

          public static void registerWorkflowType(AmazonSimpleWorkflow service,
                                  java.lang.String domain,
                                  WorkflowType workflowType,
                                  WorkflowTypeRegistrationOptions registrationOptions,
                                  java.lang.String defaultTaskList)