public class WorkflowReplayer<T> extends Object
| Constructor and Description | 
|---|
WorkflowReplayer(AmazonSimpleWorkflow service,
                String domain,
                WorkflowExecution workflowExecution,
                Class<T> workflowImplementationType)  | 
WorkflowReplayer(AmazonSimpleWorkflow service,
                String domain,
                WorkflowExecution workflowExecution,
                T workflowImplementation)  | 
WorkflowReplayer(AmazonSimpleWorkflow service,
                String domain,
                WorkflowExecution workflowExecution,
                WorkflowDefinitionFactoryFactory workflowDefinitionFactoryFactory)  | 
WorkflowReplayer(Iterable<HistoryEvent> history,
                WorkflowExecution workflowExecution,
                Class<T> workflowImplementationType)  | 
WorkflowReplayer(Iterable<HistoryEvent> history,
                WorkflowExecution workflowExecution,
                T workflowImplementation)  | 
WorkflowReplayer(Iterable<HistoryEvent> history,
                WorkflowExecution workflowExecution,
                WorkflowDefinitionFactoryFactory workflowDefinitionFactoryFactory)  | 
WorkflowReplayer(Iterator<DecisionTask> decisionTasks,
                Class<T> workflowImplementationType)  | 
WorkflowReplayer(Iterator<DecisionTask> decisionTasks,
                T workflowImplementation)  | 
WorkflowReplayer(Iterator<DecisionTask> decisionTasks,
                WorkflowDefinitionFactoryFactory workflowDefinitionFactoryFactory)  | 
| Modifier and Type | Method and Description | 
|---|---|
List<AsyncTaskInfo> | 
getAsynchronousThreadDump()  | 
String | 
getAsynchronousThreadDumpAsString()  | 
int | 
getReplayUpToEventId()  | 
T | 
loadWorkflow()  | 
RespondDecisionTaskCompletedRequest | 
replay()  | 
void | 
setReplayUpToEventId(int replayUpToEventId)
The replay stops at the event with the given eventId. 
 | 
public WorkflowReplayer(AmazonSimpleWorkflow service, String domain, WorkflowExecution workflowExecution, Class<T> workflowImplementationType) throws InstantiationException, IllegalAccessException
public WorkflowReplayer(AmazonSimpleWorkflow service, String domain, WorkflowExecution workflowExecution, T workflowImplementation) throws InstantiationException, IllegalAccessException
public WorkflowReplayer(AmazonSimpleWorkflow service, String domain, WorkflowExecution workflowExecution, WorkflowDefinitionFactoryFactory workflowDefinitionFactoryFactory) throws InstantiationException, IllegalAccessException
public WorkflowReplayer(Iterable<HistoryEvent> history, WorkflowExecution workflowExecution, Class<T> workflowImplementationType) throws InstantiationException, IllegalAccessException
public WorkflowReplayer(Iterable<HistoryEvent> history, WorkflowExecution workflowExecution, T workflowImplementation) throws InstantiationException, IllegalAccessException
public WorkflowReplayer(Iterable<HistoryEvent> history, WorkflowExecution workflowExecution, WorkflowDefinitionFactoryFactory workflowDefinitionFactoryFactory) throws InstantiationException, IllegalAccessException
public WorkflowReplayer(Iterator<DecisionTask> decisionTasks, Class<T> workflowImplementationType) throws InstantiationException, IllegalAccessException
public WorkflowReplayer(Iterator<DecisionTask> decisionTasks, T workflowImplementation) throws InstantiationException, IllegalAccessException
public WorkflowReplayer(Iterator<DecisionTask> decisionTasks, WorkflowDefinitionFactoryFactory workflowDefinitionFactoryFactory) throws InstantiationException, IllegalAccessException
public int getReplayUpToEventId()
public void setReplayUpToEventId(int replayUpToEventId)
replayUpToEventId - 0 means the whole history.public RespondDecisionTaskCompletedRequest replay() throws Exception
Exceptionpublic List<AsyncTaskInfo> getAsynchronousThreadDump() throws Exception
Exception