Class ReplayWorkflowActivityImpl
- java.lang.Object
-
- com.uber.cadence.internal.shadowing.ReplayWorkflowActivityImpl
-
- All Implemented Interfaces:
ReplayWorkflowActivity
public final class ReplayWorkflowActivityImpl extends java.lang.Object implements ReplayWorkflowActivity
-
-
Constructor Summary
Constructors Constructor 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)
-
Method Summary
-
-
-
Constructor Detail
-
ReplayWorkflowActivityImpl
public ReplayWorkflowActivityImpl(IWorkflowService serviceClient, com.uber.m3.tally.Scope metricsScope, java.lang.String taskList)
-
ReplayWorkflowActivityImpl
public ReplayWorkflowActivityImpl(IWorkflowService serviceClient, com.uber.m3.tally.Scope metricsScope, java.lang.String taskList, TestEnvironmentOptions testOptions)
-
-
Method Detail
-
registerWorkflowImplementationTypes
public void registerWorkflowImplementationTypes(java.lang.Class<?>... workflowImplementationClasses)
- Specified by:
registerWorkflowImplementationTypes
in interfaceReplayWorkflowActivity
-
registerWorkflowImplementationTypesWithOptions
public void registerWorkflowImplementationTypesWithOptions(WorkflowImplementationOptions options, java.lang.Class<?>... workflowImplementationClasses)
- Specified by:
registerWorkflowImplementationTypesWithOptions
in interfaceReplayWorkflowActivity
-
addWorkflowImplementationFactory
public <R> void addWorkflowImplementationFactory(java.lang.Class<R> workflowInterface, Functions.Func<R> factory)
- Specified by:
addWorkflowImplementationFactory
in interfaceReplayWorkflowActivity
-
addWorkflowImplementationFactoryWithOptions
public <R> void addWorkflowImplementationFactoryWithOptions(WorkflowImplementationOptions options, java.lang.Class<R> workflowInterface, Functions.Func<R> factory)
- Specified by:
addWorkflowImplementationFactoryWithOptions
in interfaceReplayWorkflowActivity
-
replay
public ReplayWorkflowActivityResult replay(ReplayWorkflowActivityParams request) throws java.lang.Exception
- Specified by:
replay
in interfaceReplayWorkflowActivity
- Throws:
java.lang.Exception
-
replayOneExecution
public ReplayWorkflowActivityResult replayOneExecution(java.lang.String domain, WorkflowExecution execution)
- Specified by:
replayOneExecution
in interfaceReplayWorkflowActivity
-
getFullHistory
protected WorkflowExecutionHistory getFullHistory(java.lang.String domain, WorkflowExecution execution) throws java.lang.Exception
- Throws:
java.lang.Exception
-
replayWorkflowHistory
protected boolean replayWorkflowHistory(java.lang.String domain, WorkflowExecution execution, WorkflowExecutionHistory workflowHistory) throws java.lang.Exception
- Throws:
java.lang.Exception
-
-