public final class ReplayWorkflowActivityImpl extends java.lang.Object implements ReplayWorkflowActivity
Constructor and Description |
---|
ReplayWorkflowActivityImpl(IWorkflowService serviceClient,
com.uber.m3.tally.Scope metricsScope,
java.lang.String taskList) |
ReplayWorkflowActivityImpl(IWorkflowService serviceClient,
com.uber.m3.tally.Scope metricsScope,
java.lang.String taskList,
TestEnvironmentOptions testOptions) |
public ReplayWorkflowActivityImpl(IWorkflowService serviceClient, com.uber.m3.tally.Scope metricsScope, java.lang.String taskList)
public ReplayWorkflowActivityImpl(IWorkflowService serviceClient, com.uber.m3.tally.Scope metricsScope, java.lang.String taskList, TestEnvironmentOptions testOptions)
public void registerWorkflowImplementationTypes(java.lang.Class<?>... workflowImplementationClasses)
registerWorkflowImplementationTypes
in interface ReplayWorkflowActivity
public void registerWorkflowImplementationTypesWithOptions(WorkflowImplementationOptions options, java.lang.Class<?>... workflowImplementationClasses)
registerWorkflowImplementationTypesWithOptions
in interface ReplayWorkflowActivity
public <R> void addWorkflowImplementationFactory(java.lang.Class<R> workflowInterface, Functions.Func<R> factory)
addWorkflowImplementationFactory
in interface ReplayWorkflowActivity
public <R> void addWorkflowImplementationFactoryWithOptions(WorkflowImplementationOptions options, java.lang.Class<R> workflowInterface, Functions.Func<R> factory)
addWorkflowImplementationFactoryWithOptions
in interface ReplayWorkflowActivity
public ReplayWorkflowActivityResult replay(ReplayWorkflowActivityParams request) throws java.lang.Exception
replay
in interface ReplayWorkflowActivity
java.lang.Exception
public ReplayWorkflowActivityResult replayOneExecution(java.lang.String domain, WorkflowExecution execution)
replayOneExecution
in interface ReplayWorkflowActivity
protected WorkflowExecutionHistory getFullHistory(java.lang.String domain, WorkflowExecution execution) throws java.lang.Exception
java.lang.Exception
protected boolean replayWorkflowHistory(java.lang.String domain, WorkflowExecution execution, WorkflowExecutionHistory workflowHistory) throws java.lang.Exception
java.lang.Exception