com.amazonaws.services.simpleworkflow.flow

## クラス SynchronousActivityWorker

- java.lang.Object
- - com.amazonaws.services.simpleworkflow.flow.SynchronousActivityWorker

-     public class SynchronousActivityWorker
      extends java.lang.Object

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

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

  - ### メソッドの概要

    メソッド
    修飾子とタイプ | メソッドと説明
    --- | ---
    `java.util.List<ActivityType>` | `addActivitiesImplementation(java.lang.Object activitiesImplementation)`
    `java.util.List<ActivityType>` | `addActivitiesImplementation(java.lang.Object activitiesImplementation, DataConverter converter)`
    `java.util.List<ActivityType>` | `addActivitiesImplementations(java.lang.Iterable<java.lang.Object> activitiesImplementations)`
    `java.util.List<ActivityType>` | `addActivitiesImplementations(java.lang.Iterable<java.lang.Object> activitiesImplementations, DataConverter dataConverter)`
    `java.lang.Iterable<java.lang.Object>` | `getActivitiesImplementations()`
    `ActivityImplementation` | `getActivityImplementation(ActivityType activityType)`
    `java.lang.Iterable<ActivityType>` | `getActivityTypesToRegister()`
    `java.lang.String` | `getDomain()`
    `java.lang.String` | `getIdentity()`
    `java.lang.String` | `getPollTaskList()`
    `ExponentialRetryParameters` | `getReportCompletionRetryParameters()`
    `ExponentialRetryParameters` | `getReportFailureRetryParameters()`
    `AmazonSimpleWorkflow` | `getService()`
    `java.lang.String` | `getTaskListToPoll()`
    `boolean` | `pollAndProcessSingleActivityTask()`
    `void` | `registerTypesToPoll()`
    `void` | `setActivitiesImplementations(java.lang.Iterable<java.lang.Object> activitiesImplementations)`
    `void` | `setDomain(java.lang.String domain)`
    `void` | `setIdentity(java.lang.String identity)`
    `void` | `setReportCompletionRetryParameters(ExponentialRetryParameters reportCompletionRetryParameters)`
    `void` | `setReportFailureRetryParameters(ExponentialRetryParameters reportFailureRetryParameters)`
    `void` | `setService(AmazonSimpleWorkflow service)`
    `void` | `setTaskListToPoll(java.lang.String taskList)`
    `java.lang.String` | `toString()`

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

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

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

    - #### SynchronousActivityWorker

          public SynchronousActivityWorker()

    - #### SynchronousActivityWorker

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

  - ### メソッドの詳細

    - #### pollAndProcessSingleActivityTask

          public boolean pollAndProcessSingleActivityTask()
                                                   throws java.lang.Throwable

      例外:
        `java.lang.Throwable`

    - #### setActivitiesImplementations

          public void setActivitiesImplementations(java.lang.Iterable<java.lang.Object> activitiesImplementations)
                                            throws java.lang.InstantiationException,
                                                   java.lang.IllegalAccessException,
                                                   java.lang.SecurityException,
                                                   java.lang.NoSuchMethodException

      例外:
        `java.lang.InstantiationException`
        `java.lang.IllegalAccessException`
        `java.lang.SecurityException`
        `java.lang.NoSuchMethodException`

    - #### getActivitiesImplementations

          public java.lang.Iterable<java.lang.Object> getActivitiesImplementations()

    - #### addActivitiesImplementations

          public java.util.List<ActivityType> addActivitiesImplementations(java.lang.Iterable<java.lang.Object> activitiesImplementations)
                                                                    throws java.lang.InstantiationException,
                                                                           java.lang.IllegalAccessException,
                                                                           java.lang.SecurityException,
                                                                           java.lang.NoSuchMethodException

      例外:
        `java.lang.InstantiationException`
        `java.lang.IllegalAccessException`
        `java.lang.SecurityException`
        `java.lang.NoSuchMethodException`

    - #### addActivitiesImplementations

          public java.util.List<ActivityType> addActivitiesImplementations(java.lang.Iterable<java.lang.Object> activitiesImplementations,
                                                                  DataConverter dataConverter)
                                                                    throws java.lang.InstantiationException,
                                                                           java.lang.IllegalAccessException,
                                                                           java.lang.SecurityException,
                                                                           java.lang.NoSuchMethodException

      例外:
        `java.lang.InstantiationException`
        `java.lang.IllegalAccessException`
        `java.lang.SecurityException`
        `java.lang.NoSuchMethodException`

    - #### addActivitiesImplementation

          public java.util.List<ActivityType> addActivitiesImplementation(java.lang.Object activitiesImplementation)
                                                                   throws java.lang.InstantiationException,
                                                                          java.lang.IllegalAccessException,
                                                                          java.lang.SecurityException,
                                                                          java.lang.NoSuchMethodException

      例外:
        `java.lang.InstantiationException`
        `java.lang.IllegalAccessException`
        `java.lang.SecurityException`
        `java.lang.NoSuchMethodException`

    - #### addActivitiesImplementation

          public java.util.List<ActivityType> addActivitiesImplementation(java.lang.Object activitiesImplementation,
                                                                 DataConverter converter)
                                                                   throws java.lang.InstantiationException,
                                                                          java.lang.IllegalAccessException,
                                                                          java.lang.SecurityException,
                                                                          java.lang.NoSuchMethodException

      例外:
        `java.lang.InstantiationException`
        `java.lang.IllegalAccessException`
        `java.lang.SecurityException`
        `java.lang.NoSuchMethodException`

    - #### getActivityTypesToRegister

          public java.lang.Iterable<ActivityType> getActivityTypesToRegister()

    - #### getActivityImplementation

          public ActivityImplementation getActivityImplementation(ActivityType activityType)

    - #### getService

          public AmazonSimpleWorkflow getService()

    - #### setService

          public void setService(AmazonSimpleWorkflow service)

    - #### getDomain

          public java.lang.String getDomain()

    - #### setDomain

          public void setDomain(java.lang.String domain)

    - #### getPollTaskList

          public java.lang.String getPollTaskList()

    - #### setTaskListToPoll

          public void setTaskListToPoll(java.lang.String taskList)

    - #### getIdentity

          public java.lang.String getIdentity()

    - #### setIdentity

          public void setIdentity(java.lang.String identity)

    - #### getReportCompletionRetryParameters

          public ExponentialRetryParameters getReportCompletionRetryParameters()

    - #### setReportCompletionRetryParameters

          public void setReportCompletionRetryParameters(ExponentialRetryParameters reportCompletionRetryParameters)

    - #### getReportFailureRetryParameters

          public ExponentialRetryParameters getReportFailureRetryParameters()

    - #### setReportFailureRetryParameters

          public void setReportFailureRetryParameters(ExponentialRetryParameters reportFailureRetryParameters)

    - #### getTaskListToPoll

          public java.lang.String getTaskListToPoll()

    - #### toString

          public java.lang.String toString()

      オーバーライド:
        `toString` クラス内 `java.lang.Object`

    - #### registerTypesToPoll

          public void registerTypesToPoll()
                                   throws java.lang.Exception

      例外:
        `java.lang.Exception`