com.amazonaws.services.simpleworkflow.flow

## クラス WorkflowReplayer<T>

- java.lang.Object
- - com.amazonaws.services.simpleworkflow.flow.WorkflowReplayer<T>

-     public class WorkflowReplayer<T>
      extends java.lang.Object

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

    コンストラクタ
    コンストラクタと説明
    `WorkflowReplayer(AmazonSimpleWorkflow service, java.lang.String domain, WorkflowExecution workflowExecution, java.lang.Class<T> workflowImplementationType)`
    `WorkflowReplayer(AmazonSimpleWorkflow service, java.lang.String domain, WorkflowExecution workflowExecution, T workflowImplementation)`
    `WorkflowReplayer(AmazonSimpleWorkflow service, java.lang.String domain, WorkflowExecution workflowExecution, WorkflowDefinitionFactoryFactory workflowDefinitionFactoryFactory)`
    `WorkflowReplayer(java.lang.Iterable<HistoryEvent> history, WorkflowExecution workflowExecution, java.lang.Class<T> workflowImplementationType)`
    `WorkflowReplayer(java.lang.Iterable<HistoryEvent> history, WorkflowExecution workflowExecution, T workflowImplementation)`
    `WorkflowReplayer(java.lang.Iterable<HistoryEvent> history, WorkflowExecution workflowExecution, WorkflowDefinitionFactoryFactory workflowDefinitionFactoryFactory)`
    `WorkflowReplayer(java.util.Iterator<DecisionTask> decisionTasks, java.lang.Class<T> workflowImplementationType)`
    `WorkflowReplayer(java.util.Iterator<DecisionTask> decisionTasks, T workflowImplementation)`
    `WorkflowReplayer(java.util.Iterator<DecisionTask> decisionTasks, WorkflowDefinitionFactoryFactory workflowDefinitionFactoryFactory)`

  - ### メソッドの概要

    メソッド
    修飾子とタイプ | メソッドと説明
    --- | ---
    `java.util.List<AsyncTaskInfo>` | `getAsynchronousThreadDump()`
    `java.lang.String` | `getAsynchronousThreadDumpAsString()`
    `int` | `getReplayUpToEventId()`
    `T` | `loadWorkflow()`
    `RespondDecisionTaskCompletedRequest` | `replay()`
    `void` | `setReplayUpToEventId(int replayUpToEventId)` The replay stops at the event with the given eventId.

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

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

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

    - #### WorkflowReplayer

          public WorkflowReplayer(AmazonSimpleWorkflow service,
                          java.lang.String domain,
                          WorkflowExecution workflowExecution,
                          java.lang.Class<T> workflowImplementationType)
                           throws java.lang.InstantiationException,
                                  java.lang.IllegalAccessException

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

    - #### WorkflowReplayer

          public WorkflowReplayer(AmazonSimpleWorkflow service,
                          java.lang.String domain,
                          WorkflowExecution workflowExecution,
                          T workflowImplementation)
                           throws java.lang.InstantiationException,
                                  java.lang.IllegalAccessException

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

    - #### WorkflowReplayer

          public WorkflowReplayer(AmazonSimpleWorkflow service,
                          java.lang.String domain,
                          WorkflowExecution workflowExecution,
                          WorkflowDefinitionFactoryFactory workflowDefinitionFactoryFactory)
                           throws java.lang.InstantiationException,
                                  java.lang.IllegalAccessException

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

    - #### WorkflowReplayer

          public WorkflowReplayer(java.lang.Iterable<HistoryEvent> history,
                          WorkflowExecution workflowExecution,
                          java.lang.Class<T> workflowImplementationType)
                           throws java.lang.InstantiationException,
                                  java.lang.IllegalAccessException

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

    - #### WorkflowReplayer

          public WorkflowReplayer(java.lang.Iterable<HistoryEvent> history,
                          WorkflowExecution workflowExecution,
                          T workflowImplementation)
                           throws java.lang.InstantiationException,
                                  java.lang.IllegalAccessException

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

    - #### WorkflowReplayer

          public WorkflowReplayer(java.lang.Iterable<HistoryEvent> history,
                          WorkflowExecution workflowExecution,
                          WorkflowDefinitionFactoryFactory workflowDefinitionFactoryFactory)
                           throws java.lang.InstantiationException,
                                  java.lang.IllegalAccessException

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

    - #### WorkflowReplayer

          public WorkflowReplayer(java.util.Iterator<DecisionTask> decisionTasks,
                          java.lang.Class<T> workflowImplementationType)
                           throws java.lang.InstantiationException,
                                  java.lang.IllegalAccessException

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

    - #### WorkflowReplayer

          public WorkflowReplayer(java.util.Iterator<DecisionTask> decisionTasks,
                          T workflowImplementation)
                           throws java.lang.InstantiationException,
                                  java.lang.IllegalAccessException

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

    - #### WorkflowReplayer

          public WorkflowReplayer(java.util.Iterator<DecisionTask> decisionTasks,
                          WorkflowDefinitionFactoryFactory workflowDefinitionFactoryFactory)
                           throws java.lang.InstantiationException,
                                  java.lang.IllegalAccessException

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

  - ### メソッドの詳細

    - #### getReplayUpToEventId

          public int getReplayUpToEventId()

    - #### setReplayUpToEventId

          public void setReplayUpToEventId(int replayUpToEventId)

      The replay stops at the event with the given eventId. Default is 0.
      パラメータ:
        `replayUpToEventId` - 0 means the whole history.

    - #### replay

          public RespondDecisionTaskCompletedRequest replay()
                                                     throws java.lang.Exception

      例外:
        `java.lang.Exception`

    - #### loadWorkflow

          public T loadWorkflow()
                         throws java.lang.Exception

      例外:
        `java.lang.Exception`

    - #### getAsynchronousThreadDump

          public java.util.List<AsyncTaskInfo> getAsynchronousThreadDump()
                                                                  throws java.lang.Exception

      例外:
        `java.lang.Exception`

    - #### getAsynchronousThreadDumpAsString

          public java.lang.String getAsynchronousThreadDumpAsString()
                                                             throws java.lang.Exception

      例外:
        `java.lang.Exception`