A B C D E F G H I M N P R S T U V W 
All Classes All Packages

A

add(String) - Method in class io.temporal.testing.internal.TracingWorkerInterceptor.FilteredTrace
 
addWorkflowImplementationFactory(Class<R>, Functions.Func<R>) - Method in class io.temporal.testing.internal.SDKTestWorkflowRule
 
afterEach(ExtensionContext) - Method in class io.temporal.testing.TestActivityExtension
 
afterEach(ExtensionContext) - Method in class io.temporal.testing.TestWorkflowExtension
 
allErrors() - Method in class io.temporal.testing.ReplayResults
 
apply(Statement, Description) - Method in class io.temporal.testing.internal.SDKTestWorkflowRule
 
apply(Statement, Description) - Method in class io.temporal.testing.TestWorkflowRule
 
assertExpected() - Method in class io.temporal.testing.internal.TracingWorkerInterceptor
 
assertHistoryEvent(String, EventType) - Method in class io.temporal.testing.internal.SDKTestWorkflowRule
Asserts that an event of the given EventType is found in the history.
assertNoHistoryEvent(History, EventType) - Static method in class io.temporal.testing.internal.SDKTestWorkflowRule
Asserts that an event of the given EventType is not found in the history.
assertNoHistoryEvent(String, EventType) - Method in class io.temporal.testing.internal.SDKTestWorkflowRule
Asserts that an event of the given EventType is not found in the history.
awaitTermination(long, TimeUnit) - Method in interface io.temporal.testing.TestWorkflowEnvironment
Blocks until all tasks have completed execution after a shutdown request, or the timeout occurs, or the current thread is interrupted, whichever happens first.
awaitTermination(long, TimeUnit) - Method in class io.temporal.testing.TestWorkflowEnvironmentInternal
 

B

beforeEach(ExtensionContext) - Method in class io.temporal.testing.TestActivityExtension
 
beforeEach(ExtensionContext) - Method in class io.temporal.testing.TestWorkflowExtension
 
blockingStub() - Method in class io.temporal.testing.TestWorkflowRule
 
build() - Method in class io.temporal.testing.internal.SDKTestWorkflowRule.Builder
 
build() - Method in class io.temporal.testing.TestActivityExtension.Builder
 
build() - Method in class io.temporal.testing.TestEnvironmentOptions.Builder
 
build() - Method in class io.temporal.testing.TestWorkflowExtension.Builder
 
build() - Method in class io.temporal.testing.TestWorkflowRule.Builder
 
Builder() - Constructor for class io.temporal.testing.internal.SDKTestWorkflowRule.Builder
 
Builder() - Constructor for class io.temporal.testing.TestWorkflowRule.Builder
 

C

clearSignal() - Method in class io.temporal.internal.Signal
Clear the signal - doesn't notify, as nothing should be waiting for this, even if they are they're waiting for it to go true
close() - Method in interface io.temporal.testing.TestActivityEnvironment
 
close() - Method in class io.temporal.testing.TestActivityEnvironmentInternal
 
close() - Method in interface io.temporal.testing.TestWorkflowEnvironment
close() - Method in class io.temporal.testing.TestWorkflowEnvironmentInternal
 
configure(TestEnvironmentOptions.Builder) - Static method in class io.temporal.testing.internal.ExternalServiceTestConfigurator
 
configure(TestWorkflowRule.Builder) - Static method in class io.temporal.testing.internal.ExternalServiceTestConfigurator
 
configuredTestEnvironmentOptions() - Static method in class io.temporal.testing.internal.ExternalServiceTestConfigurator
 
createTestEnvOptions(long) - Method in class io.temporal.testing.TestWorkflowExtension
 
createTestEnvOptions(long) - Method in class io.temporal.testing.TestWorkflowRule
 
currentTimeMillis() - Method in interface io.temporal.testing.TestWorkflowEnvironment
This time might not be equal to System.currentTimeMillis() due to time skipping.
currentTimeMillis() - Method in class io.temporal.testing.TestWorkflowEnvironmentInternal
 

D

DeterministicRunnerWrapper - Class in io.temporal.internal.sync
 
DeterministicRunnerWrapper(InvocationHandler, WorkflowThreadExecutor) - Constructor for class io.temporal.internal.sync.DeterministicRunnerWrapper
 
DummySyncWorkflowContext - Class in io.temporal.internal.sync
 
DummySyncWorkflowContext() - Constructor for class io.temporal.internal.sync.DummySyncWorkflowContext
 

E

exception - Variable in class io.temporal.testing.ReplayResults.ReplayError
 
ExternalServiceTestConfigurator - Class in io.temporal.testing.internal
 
ExternalServiceTestConfigurator() - Constructor for class io.temporal.testing.internal.ExternalServiceTestConfigurator
 

F

FilteredTrace() - Constructor for class io.temporal.testing.internal.TracingWorkerInterceptor.FilteredTrace
 

G

getDefaultInstance() - Static method in class io.temporal.testing.TestEnvironmentOptions
 
getDiagnostics() - Method in interface io.temporal.testing.TestWorkflowEnvironment
Currently prints histories of all workflow instances stored in the service.
getDiagnostics() - Method in class io.temporal.testing.TestWorkflowEnvironmentInternal
 
getExecutionHistory(String) - Method in class io.temporal.testing.internal.SDKTestWorkflowRule
 
getHistory(WorkflowExecution) - Method in class io.temporal.testing.TestWorkflowRule
Deprecated.
use WorkflowClient.fetchHistory(String, String). To obtain a WorkflowClient use TestWorkflowRule.getWorkflowClient()
getHistoryEvent(String, EventType) - Method in class io.temporal.testing.internal.SDKTestWorkflowRule
Returns the first event of the given EventType found in the history.
getHistoryEvents(String, EventType) - Method in class io.temporal.testing.internal.SDKTestWorkflowRule
Returns list of all events of the given EventType found in the history.
getInitialTimeMillis() - Method in class io.temporal.testing.TestEnvironmentOptions
 
getInterceptor(Class<T>) - Method in class io.temporal.testing.internal.SDKTestWorkflowRule
 
getInterceptor(Class<T>) - Method in class io.temporal.testing.TestWorkflowRule
 
getMetricsScope() - Method in class io.temporal.testing.TestEnvironmentOptions
 
getNamespace() - Method in interface io.temporal.testing.TestWorkflowEnvironment
 
getNamespace() - Method in class io.temporal.testing.TestWorkflowEnvironmentInternal
 
getSearchAttributes() - Method in class io.temporal.testing.TestEnvironmentOptions
 
getTarget() - Method in class io.temporal.testing.TestEnvironmentOptions
 
getTaskQueue() - Method in class io.temporal.testing.internal.SDKTestWorkflowRule
 
getTaskQueue() - Method in class io.temporal.testing.TestWorkflowRule
 
getTemporalServiceAddress() - Static method in class io.temporal.testing.internal.ExternalServiceTestConfigurator
 
getTestEnvironment() - Method in class io.temporal.testing.internal.SDKTestWorkflowRule
 
getTestEnvironment() - Method in class io.temporal.testing.TestWorkflowRule
 
getTrace() - Method in class io.temporal.testing.internal.TracingWorkerInterceptor
 
getWorker() - Method in class io.temporal.testing.internal.SDKTestWorkflowRule
 
getWorker() - Method in class io.temporal.testing.TestWorkflowRule
This worker listens to the default task queue which is obtainable via the TestWorkflowRule.getTaskQueue() method.
getWorkerFactory() - Method in interface io.temporal.testing.TestWorkflowEnvironment
 
getWorkerFactory() - Method in class io.temporal.testing.TestWorkflowEnvironmentInternal
 
getWorkerFactoryOptions() - Method in class io.temporal.testing.internal.SDKTestWorkflowRule
 
getWorkerFactoryOptions() - Method in class io.temporal.testing.TestEnvironmentOptions
 
getWorkerFactoryOptions() - Method in class io.temporal.testing.TestWorkflowRule
 
getWorkflowClient() - Method in class io.temporal.testing.internal.SDKTestWorkflowRule
 
getWorkflowClient() - Method in interface io.temporal.testing.TestWorkflowEnvironment
Creates a WorkflowClient that is connected to the in-memory test Temporal service.
getWorkflowClient() - Method in class io.temporal.testing.TestWorkflowEnvironmentInternal
 
getWorkflowClient() - Method in class io.temporal.testing.TestWorkflowRule
 
getWorkflowClientOptions() - Method in class io.temporal.testing.TestEnvironmentOptions
 
getWorkflowExecutionHistory(WorkflowExecution) - Method in interface io.temporal.testing.TestWorkflowEnvironment
Deprecated.
use WorkflowClient.fetchHistory(String, String)
getWorkflowExecutionHistory(WorkflowExecution) - Method in class io.temporal.testing.TestWorkflowEnvironmentInternal
Deprecated.
getWorkflowExecutionHistory(WorkflowExecution) - Method in class io.temporal.testing.TestWorkflowRule
Deprecated.
use WorkflowClient.fetchHistory(String, String). To obtain a WorkflowClient use TestWorkflowRule.getWorkflowClient()
getWorkflowService() - Method in interface io.temporal.testing.TestWorkflowEnvironment
getWorkflowService() - Method in class io.temporal.testing.TestWorkflowEnvironmentInternal
Deprecated.
getWorkflowServiceStubs() - Method in class io.temporal.testing.internal.SDKTestWorkflowRule
 
getWorkflowServiceStubs() - Method in interface io.temporal.testing.TestWorkflowEnvironment
 
getWorkflowServiceStubs() - Method in class io.temporal.testing.TestWorkflowEnvironmentInternal
 
getWorkflowServiceStubs() - Method in class io.temporal.testing.TestWorkflowRule
 
getWorkflowServiceStubsOptions() - Method in class io.temporal.testing.TestEnvironmentOptions
 

H

hadAnyError() - Method in class io.temporal.testing.ReplayResults
 

I

interceptActivity(ActivityInboundCallsInterceptor) - Method in class io.temporal.testing.internal.TracingWorkerInterceptor
 
interceptWorkflow(WorkflowInboundCallsInterceptor) - Method in class io.temporal.testing.internal.TracingWorkerInterceptor
 
invalidateWorkflowCache() - Method in class io.temporal.testing.internal.SDKTestWorkflowRule
Causes eviction of all workflows in the worker cache
invoke(Object, Method, Object[]) - Method in class io.temporal.internal.sync.DeterministicRunnerWrapper
 
io.temporal.internal - package io.temporal.internal
 
io.temporal.internal.docker - package io.temporal.internal.docker
 
io.temporal.internal.sync - package io.temporal.internal.sync
 
io.temporal.testing - package io.temporal.testing
 
io.temporal.testing.internal - package io.temporal.testing.internal
 
isShutdown() - Method in interface io.temporal.testing.TestWorkflowEnvironment
isShutdown() - Method in class io.temporal.testing.TestWorkflowEnvironmentInternal
 
isSignalled() - Method in class io.temporal.internal.Signal
Peek at the signal
isStarted() - Method in interface io.temporal.testing.TestWorkflowEnvironment
isStarted() - Method in class io.temporal.testing.TestWorkflowEnvironmentInternal
 
Issue - Annotation Type in io.temporal.internal
Test annotated with Issue covers a specific problem or edge case and is usually crafted carefully to hit the right conditions to reproduce the problem.
isTerminated() - Method in interface io.temporal.testing.TestWorkflowEnvironment
isTerminated() - Method in class io.temporal.testing.TestWorkflowEnvironmentInternal
 
isUseExternalService() - Static method in class io.temporal.testing.internal.ExternalServiceTestConfigurator
 
isUseExternalService() - Method in class io.temporal.testing.internal.SDKTestWorkflowRule
 
isUseExternalService() - Method in class io.temporal.testing.TestEnvironmentOptions
 
isUseExternalService() - Method in class io.temporal.testing.TestWorkflowRule
isUseTimeskipping() - Method in class io.temporal.testing.TestEnvironmentOptions
 

M

main(String[]) - Static method in class io.temporal.internal.docker.RegisterTestNamespace
 

N

NAMESPACE - Static variable in class io.temporal.internal.docker.RegisterTestNamespace
 
NAMESPACE - Static variable in class io.temporal.testing.internal.SDKTestWorkflowRule
 
newActivityOptions20sScheduleToClose() - Static method in class io.temporal.testing.internal.SDKTestOptions
 
newActivityOptionsForTaskQueue(String) - Static method in class io.temporal.testing.internal.SDKTestOptions
 
newActivityStub(Class<T>) - Method in interface io.temporal.testing.TestActivityEnvironment
Creates a stub that can be used to invoke activities registered through TestActivityEnvironment.registerActivitiesImplementations(Object...).
newActivityStub(Class<T>) - Method in class io.temporal.testing.TestActivityEnvironmentInternal
Creates client stub to activities that implement given interface.
newActivityStub(Class<T>, ActivityOptions) - Method in interface io.temporal.testing.TestActivityEnvironment
Creates a stub that can be used to invoke activities registered through TestActivityEnvironment.registerActivitiesImplementations(Object...).
newActivityStub(Class<T>, ActivityOptions) - Method in class io.temporal.testing.TestActivityEnvironmentInternal
Creates client stub to activities that implement given interface.
newBuilder() - Static method in class io.temporal.testing.internal.SDKTestWorkflowRule
 
newBuilder() - Static method in class io.temporal.testing.TestActivityExtension
 
newBuilder() - Static method in class io.temporal.testing.TestEnvironmentOptions
 
newBuilder() - Static method in class io.temporal.testing.TestWorkflowExtension
 
newBuilder() - Static method in class io.temporal.testing.TestWorkflowRule
 
newBuilder(TestEnvironmentOptions) - Static method in class io.temporal.testing.TestEnvironmentOptions
 
newDummySyncWorkflowContext() - Static method in class io.temporal.internal.sync.DummySyncWorkflowContext
 
newInstance() - Static method in interface io.temporal.testing.TestActivityEnvironment
 
newInstance() - Static method in interface io.temporal.testing.TestWorkflowEnvironment
Creates the environment with default options.
newInstance(TestEnvironmentOptions) - Static method in interface io.temporal.testing.TestActivityEnvironment
 
newInstance(TestEnvironmentOptions) - Static method in interface io.temporal.testing.TestWorkflowEnvironment
Creates the environment with supplied options.
newLocalActivityOptions() - Static method in class io.temporal.testing.internal.SDKTestOptions
 
newLocalActivityOptions20sScheduleToClose() - Static method in class io.temporal.testing.internal.SDKTestOptions
 
newLocalActivityStub(Class<T>, LocalActivityOptions, Map<String, LocalActivityOptions>) - Method in interface io.temporal.testing.TestActivityEnvironment
Creates a stub that can be used to invoke activities registered through TestActivityEnvironment.registerActivitiesImplementations(Object...).
newLocalActivityStub(Class<T>, LocalActivityOptions, Map<String, LocalActivityOptions>) - Method in class io.temporal.testing.TestActivityEnvironmentInternal
Creates client stub to activities that implement given interface.
newUntypedWorkflowStub(String) - Method in class io.temporal.testing.internal.SDKTestWorkflowRule
 
newUntypedWorkflowStub(String) - Method in class io.temporal.testing.TestWorkflowRule
 
newUntypedWorkflowStubTimeoutOptions(String) - Method in class io.temporal.testing.internal.SDKTestWorkflowRule
 
newWorker(String) - Method in interface io.temporal.testing.TestWorkflowEnvironment
Creates a new Worker instance that is connected to the in-memory test Temporal service.
newWorker(String) - Method in class io.temporal.testing.TestWorkflowEnvironmentInternal
 
newWorker(String, WorkerOptions) - Method in interface io.temporal.testing.TestWorkflowEnvironment
Creates a new Worker instance that is connected to the in-memory test Temporal service.
newWorker(String, WorkerOptions) - Method in class io.temporal.testing.TestWorkflowEnvironmentInternal
 
newWorkflowOptionsForTaskQueue200sTimeout(String) - Static method in class io.temporal.testing.internal.SDKTestOptions
 
newWorkflowOptionsWithTimeouts(String) - Static method in class io.temporal.testing.internal.SDKTestOptions
 
newWorkflowStub(Class<T>) - Method in class io.temporal.testing.internal.SDKTestWorkflowRule
 
newWorkflowStub(Class<T>) - Method in class io.temporal.testing.TestWorkflowRule
 
newWorkflowStub200sTimeoutOptions(Class<T>) - Method in class io.temporal.testing.internal.SDKTestWorkflowRule
 
newWorkflowStubTimeoutOptions(Class<T>) - Method in class io.temporal.testing.internal.SDKTestWorkflowRule
 

P

pollWorkflowTaskQueue(String, TaskQueue, WorkflowServiceStubs) - Static method in class io.temporal.testing.internal.TestServiceUtils
 

R

readHistory(File) - Static method in class io.temporal.testing.WorkflowHistoryLoader
 
readHistoryFromResource(String) - Static method in class io.temporal.testing.WorkflowHistoryLoader
 
REGENERATE_JSON_FILES - Static variable in class io.temporal.testing.internal.SDKTestWorkflowRule
 
regenerateHistoryForReplay(String, String) - Method in class io.temporal.testing.internal.SDKTestWorkflowRule
 
registerActivitiesImplementations(Object...) - Method in interface io.temporal.testing.TestActivityEnvironment
Registers activity implementations to test.
registerActivitiesImplementations(Object...) - Method in class io.temporal.testing.TestActivityEnvironmentInternal
 
registerDelayedCallback(Duration, Runnable) - Method in class io.temporal.testing.internal.SDKTestWorkflowRule
 
registerDelayedCallback(Duration, Runnable) - Method in interface io.temporal.testing.TestWorkflowEnvironment
Registers a callback to run after the specified delay according to the test Temporal service internal clock.
registerDelayedCallback(Duration, Runnable) - Method in class io.temporal.testing.TestWorkflowEnvironmentInternal
 
registerSearchAttribute(SearchAttributeKey<?>) - Method in class io.temporal.testing.internal.SDKTestWorkflowRule.Builder
 
registerSearchAttribute(SearchAttributeKey<?>) - Method in class io.temporal.testing.TestWorkflowRule.Builder
Add a search attribute to be registered on the Temporal Server.
registerSearchAttribute(String, IndexedValueType) - Method in class io.temporal.testing.internal.SDKTestWorkflowRule.Builder
 
registerSearchAttribute(String, IndexedValueType) - Method in class io.temporal.testing.TestEnvironmentOptions.Builder
Add a search attribute to be registered on the Temporal Server.
registerSearchAttribute(String, IndexedValueType) - Method in interface io.temporal.testing.TestWorkflowEnvironment
Register a Search Attribute with the server.
registerSearchAttribute(String, IndexedValueType) - Method in class io.temporal.testing.TestWorkflowEnvironmentInternal
 
registerSearchAttribute(String, IndexedValueType) - Method in class io.temporal.testing.TestWorkflowExtension.Builder
Add a search attribute to be registered on the Temporal Server.
registerSearchAttribute(String, IndexedValueType) - Method in class io.temporal.testing.TestWorkflowRule.Builder
Add a search attribute to be registered on the Temporal Server.
RegisterTestNamespace - Class in io.temporal.internal.docker
Waits for local service to become available and registers UnitTest namespace.
RegisterTestNamespace() - Constructor for class io.temporal.internal.docker.RegisterTestNamespace
 
registerWorkflowImplementationTypes(WorkflowImplementationOptions, Class<?>...) - Method in class io.temporal.testing.TestWorkflowExtension.Builder
Specify workflow implementation types to register with the Temporal worker.
registerWorkflowImplementationTypes(Class<?>...) - Method in class io.temporal.testing.TestWorkflowExtension.Builder
Specify workflow implementation types to register with the Temporal worker.
ReplayError(String, Exception) - Constructor for class io.temporal.testing.ReplayResults.ReplayError
 
ReplayResults - Class in io.temporal.testing
 
ReplayResults.ReplayError - Class in io.temporal.testing
 
replayWorkflowExecution(WorkflowExecutionHistory, TestWorkflowEnvironment, Class<?>, Class<?>...) - Static method in class io.temporal.testing.WorkflowReplayer
Replays workflow from a WorkflowExecutionHistory.
replayWorkflowExecution(WorkflowExecutionHistory, Worker) - Static method in class io.temporal.testing.WorkflowReplayer
Replays workflow from a resource that contains a json serialized history.
replayWorkflowExecution(WorkflowExecutionHistory, Class<?>, Class<?>...) - Static method in class io.temporal.testing.WorkflowReplayer
Replays workflow from a WorkflowExecutionHistory.
replayWorkflowExecution(File, Class<?>, Class<?>...) - Static method in class io.temporal.testing.WorkflowReplayer
Replays workflow from a file
replayWorkflowExecution(String, Class<?>, Class<?>...) - Static method in class io.temporal.testing.WorkflowReplayer
Replays workflow from a json serialized history.
replayWorkflowExecutionFromResource(String, TestWorkflowEnvironment, Class<?>, Class<?>...) - Static method in class io.temporal.testing.WorkflowReplayer
Replays workflow from a resource that contains a json serialized history.
replayWorkflowExecutionFromResource(String, Worker) - Static method in class io.temporal.testing.WorkflowReplayer
Replays workflow from a resource that contains a json serialized history.
replayWorkflowExecutionFromResource(String, Class<?>, Class<?>...) - Static method in class io.temporal.testing.WorkflowReplayer
Replays workflow from a resource that contains a json serialized history.
replayWorkflowExecutions(Iterable<? extends WorkflowExecutionHistory>, boolean, Worker) - Static method in class io.temporal.testing.WorkflowReplayer
Replays workflows provided by an iterable using an already-initialized worker.
replayWorkflowExecutions(Iterable<? extends WorkflowExecutionHistory>, boolean, Class<?>...) - Static method in class io.temporal.testing.WorkflowReplayer
Replays workflows provided by an iterable.
requestCancelActivity() - Method in interface io.temporal.testing.TestActivityEnvironment
Requests activity cancellation.
requestCancelActivity() - Method in class io.temporal.testing.TestActivityEnvironmentInternal
 
resolveParameter(ParameterContext, ExtensionContext) - Method in class io.temporal.testing.TestActivityExtension
 
resolveParameter(ParameterContext, ExtensionContext) - Method in class io.temporal.testing.TestWorkflowExtension
 
respondWorkflowTaskCompletedWithSticky(ByteString, TaskQueue, WorkflowServiceStubs) - Static method in class io.temporal.testing.internal.TestServiceUtils
 
respondWorkflowTaskCompletedWithSticky(ByteString, TaskQueue, Duration, WorkflowServiceStubs) - Static method in class io.temporal.testing.internal.TestServiceUtils
 
respondWorkflowTaskFailedWithSticky(ByteString, WorkflowServiceStubs) - Static method in class io.temporal.testing.internal.TestServiceUtils
 

S

SDKTestOptions - Class in io.temporal.testing.internal
 
SDKTestOptions() - Constructor for class io.temporal.testing.internal.SDKTestOptions
 
SDKTestWorkflowRule - Class in io.temporal.testing.internal
Intended to be used only in the Java SDK test code.
SDKTestWorkflowRule.Builder - Class in io.temporal.testing.internal
 
setActivityHeartbeatListener(Class<T>, Functions.Proc1<T>) - Method in interface io.temporal.testing.TestActivityEnvironment
Sets a listener that is called every time an activity implementation heartbeats through ActivityExecutionContext.heartbeat(Object).
setActivityHeartbeatListener(Class<T>, Functions.Proc1<T>) - Method in class io.temporal.testing.TestActivityEnvironmentInternal
 
setActivityHeartbeatListener(Class<T>, Type, Functions.Proc1<T>) - Method in interface io.temporal.testing.TestActivityEnvironment
Sets a listener that is called every time an activity implementation heartbeats through ActivityExecutionContext.heartbeat(Object).
setActivityHeartbeatListener(Class<T>, Type, Functions.Proc1<T>) - Method in class io.temporal.testing.TestActivityEnvironmentInternal
 
setActivityImplementations(Object...) - Method in class io.temporal.testing.internal.SDKTestWorkflowRule.Builder
 
setActivityImplementations(Object...) - Method in class io.temporal.testing.TestActivityExtension.Builder
Specify activity implementations to register with the Temporal worker
setActivityImplementations(Object...) - Method in class io.temporal.testing.TestWorkflowExtension.Builder
Specify activity implementations to register with the Temporal worker
setActivityImplementations(Object...) - Method in class io.temporal.testing.TestWorkflowRule.Builder
 
setDoNotStart(boolean) - Method in class io.temporal.testing.internal.SDKTestWorkflowRule.Builder
 
setDoNotStart(boolean) - Method in class io.temporal.testing.TestWorkflowExtension.Builder
When set to true the TestWorkflowEnvironment.start() is not called by the extension before executing the test.
setDoNotStart(boolean) - Method in class io.temporal.testing.TestWorkflowRule.Builder
When set to true the TestWorkflowEnvironment.start() is not called by the rule before executing the test.
setExpected(String...) - Method in class io.temporal.testing.internal.TracingWorkerInterceptor
 
setHeartbeatDetails(T) - Method in interface io.temporal.testing.TestActivityEnvironment
Sets heartbeat details for the next activity execution.
setHeartbeatDetails(T) - Method in class io.temporal.testing.TestActivityEnvironmentInternal
 
setInitialTime(Instant) - Method in class io.temporal.testing.TestEnvironmentOptions.Builder
Set the initial time for the workflow virtual clock.
setInitialTime(Instant) - Method in class io.temporal.testing.TestWorkflowExtension.Builder
Set the initial time for the workflow virtual clock.
setInitialTime(Instant) - Method in class io.temporal.testing.TestWorkflowRule.Builder
Set the initial time for the workflow virtual clock.
setInitialTimeMillis(long) - Method in class io.temporal.testing.internal.SDKTestWorkflowRule.Builder
 
setInitialTimeMillis(long) - Method in class io.temporal.testing.TestEnvironmentOptions.Builder
Set the initial time for the workflow virtual clock, milliseconds since epoch.
setInitialTimeMillis(long) - Method in class io.temporal.testing.TestWorkflowExtension.Builder
Set the initial time for the workflow virtual clock, milliseconds since epoch.
setInitialTimeMillis(long) - Method in class io.temporal.testing.TestWorkflowRule.Builder
Set the initial time for the workflow virtual clock, milliseconds since epoch.
setMetricsScope(Scope) - Method in class io.temporal.testing.internal.SDKTestWorkflowRule.Builder
 
setMetricsScope(Scope) - Method in class io.temporal.testing.TestEnvironmentOptions.Builder
Sets the scope to be used for metrics reporting.
setMetricsScope(Scope) - Method in class io.temporal.testing.TestWorkflowExtension.Builder
Sets the scope to be used for metrics reporting.
setMetricsScope(Scope) - Method in class io.temporal.testing.TestWorkflowRule.Builder
Sets the scope to be used for metrics reporting.
setNamespace(String) - Method in class io.temporal.testing.internal.SDKTestWorkflowRule.Builder
 
setNamespace(String) - Method in class io.temporal.testing.TestWorkflowExtension.Builder
Set Temporal namespace to use for tests, by default, UnitTest is used.
setNamespace(String) - Method in class io.temporal.testing.TestWorkflowRule.Builder
 
setTarget(String) - Method in class io.temporal.testing.internal.SDKTestWorkflowRule.Builder
 
setTarget(String) - Method in class io.temporal.testing.TestEnvironmentOptions.Builder
Optional parameter that defines an endpoint which will be used for the communication with standalone temporal service.
setTarget(String) - Method in class io.temporal.testing.TestWorkflowRule.Builder
Optional parameter that defines an endpoint which will be used for the communication with standalone temporal service.
setTestEnvironmentOptions(TestEnvironmentOptions) - Method in class io.temporal.testing.TestActivityExtension.Builder
 
setTestTimeoutSeconds(long) - Method in class io.temporal.testing.internal.SDKTestWorkflowRule.Builder
Global test timeout.
setTestTimeoutSeconds(long) - Method in class io.temporal.testing.TestWorkflowRule.Builder
Deprecated.
Temporal test rule shouldn't be responsible for enforcing test timeouts. Use toolchain of your test framework to enforce timeouts.
setUseExternalService(boolean) - Method in class io.temporal.testing.internal.SDKTestWorkflowRule.Builder
 
setUseExternalService(boolean) - Method in class io.temporal.testing.TestEnvironmentOptions.Builder
Set to true in order to make test environment use external temporal service or false for in-memory test implementation.
setUseExternalService(boolean) - Method in class io.temporal.testing.TestWorkflowRule.Builder
Switches between in-memory and external temporal service implementations.
setUseTimeskipping(boolean) - Method in class io.temporal.testing.internal.SDKTestWorkflowRule.Builder
 
setUseTimeskipping(boolean) - Method in class io.temporal.testing.TestEnvironmentOptions.Builder
Sets whether the TestWorkflowEnvironment will timeskip.
setUseTimeskipping(boolean) - Method in class io.temporal.testing.TestWorkflowExtension.Builder
Sets TestEnvironmentOptions.setUseTimeskippings.
setUseTimeskipping(boolean) - Method in class io.temporal.testing.TestWorkflowRule.Builder
Sets TestEnvironmentOptions.setUseTimeskippings.
setWorkerFactoryOptions(WorkerFactoryOptions) - Method in class io.temporal.testing.internal.SDKTestWorkflowRule.Builder
 
setWorkerFactoryOptions(WorkerFactoryOptions) - Method in class io.temporal.testing.TestEnvironmentOptions.Builder
Set factoryOptions for worker factory used to create workers.
setWorkerFactoryOptions(WorkerFactoryOptions) - Method in class io.temporal.testing.TestWorkflowExtension.Builder
Override WorkerFactoryOptions for test environment.
setWorkerFactoryOptions(WorkerFactoryOptions) - Method in class io.temporal.testing.TestWorkflowRule.Builder
 
setWorkerOptions(WorkerOptions) - Method in class io.temporal.testing.internal.SDKTestWorkflowRule.Builder
 
setWorkerOptions(WorkerOptions) - Method in class io.temporal.testing.TestWorkflowExtension.Builder
 
setWorkerOptions(WorkerOptions) - Method in class io.temporal.testing.TestWorkflowRule.Builder
 
setWorkflowClientOptions(WorkflowClientOptions) - Method in class io.temporal.testing.internal.SDKTestWorkflowRule.Builder
 
setWorkflowClientOptions(WorkflowClientOptions) - Method in class io.temporal.testing.TestEnvironmentOptions.Builder
 
setWorkflowClientOptions(WorkflowClientOptions) - Method in class io.temporal.testing.TestWorkflowExtension.Builder
Override WorkflowClientOptions for test environment.
setWorkflowClientOptions(WorkflowClientOptions) - Method in class io.temporal.testing.TestWorkflowRule.Builder
Override WorkflowClientOptions for test environment.
setWorkflowServiceStubsOptions(WorkflowServiceStubsOptions) - Method in class io.temporal.testing.internal.SDKTestWorkflowRule.Builder
 
setWorkflowServiceStubsOptions(WorkflowServiceStubsOptions) - Method in class io.temporal.testing.TestEnvironmentOptions.Builder
 
setWorkflowServiceStubsOptions(WorkflowServiceStubsOptions) - Method in class io.temporal.testing.TestWorkflowRule.Builder
 
setWorkflowTypes(WorkflowImplementationOptions, Class<?>...) - Method in class io.temporal.testing.internal.SDKTestWorkflowRule.Builder
 
setWorkflowTypes(WorkflowImplementationOptions, Class<?>...) - Method in class io.temporal.testing.TestWorkflowRule.Builder
 
setWorkflowTypes(Class<?>...) - Method in class io.temporal.testing.internal.SDKTestWorkflowRule.Builder
 
setWorkflowTypes(Class<?>...) - Method in class io.temporal.testing.TestWorkflowExtension.Builder
Deprecated.
use registerWorkflowImplementationTypes instead
setWorkflowTypes(Class<?>...) - Method in class io.temporal.testing.TestWorkflowRule.Builder
 
shutdown() - Method in class io.temporal.testing.internal.SDKTestWorkflowRule
 
shutdown() - Method in interface io.temporal.testing.TestWorkflowEnvironment
Initiates an orderly shutdown in which polls are stopped and already received workflow and activity tasks are executed.
shutdown() - Method in class io.temporal.testing.TestWorkflowEnvironmentInternal
 
shutdown() - Method in class io.temporal.testing.TestWorkflowRule
 
shutdownNow() - Method in interface io.temporal.testing.TestWorkflowEnvironment
Initiates an orderly shutdown in which polls are stopped and already received workflow and activity tasks are attempted to be stopped.
shutdownNow() - Method in class io.temporal.testing.TestWorkflowEnvironmentInternal
 
shutdownTestService() - Method in interface io.temporal.testing.TestWorkflowEnvironment
Deprecated.
shutdownTestService() - Method in class io.temporal.testing.TestWorkflowEnvironmentInternal
Deprecated.
signal() - Method in class io.temporal.internal.Signal
Set the done flag
Signal - Class in io.temporal.internal
Represents a flag which can be set or waited for.
Signal() - Constructor for class io.temporal.internal.Signal
 
signalWorkflow(WorkflowExecution, String, WorkflowServiceStubs) - Static method in class io.temporal.testing.internal.TestServiceUtils
 
sleep(Duration) - Method in class io.temporal.testing.internal.SDKTestWorkflowRule
 
sleep(Duration) - Method in interface io.temporal.testing.TestWorkflowEnvironment
Wait until internal test Temporal service time passes the specified duration.
sleep(Duration) - Method in class io.temporal.testing.TestWorkflowEnvironmentInternal
 
start() - Method in interface io.temporal.testing.TestWorkflowEnvironment
Start all workers created by this factory.
start() - Method in class io.temporal.testing.TestWorkflowEnvironmentInternal
 
startWorkflowExecution(String, String, String, WorkflowServiceStubs) - Static method in class io.temporal.testing.internal.TestServiceUtils
 
startWorkflowExecution(String, String, String, Duration, Duration, WorkflowServiceStubs) - Static method in class io.temporal.testing.internal.TestServiceUtils
 
supportsParameter(ParameterContext, ExtensionContext) - Method in class io.temporal.testing.TestActivityExtension
 
supportsParameter(ParameterContext, ExtensionContext) - Method in class io.temporal.testing.TestWorkflowExtension
 

T

TestActivityEnvironment - Interface in io.temporal.testing
The helper class for unit testing activity implementations.
TestActivityEnvironmentInternal - Class in io.temporal.testing
 
TestActivityEnvironmentInternal(TestEnvironmentOptions) - Constructor for class io.temporal.testing.TestActivityEnvironmentInternal
 
TestActivityExtension - Class in io.temporal.testing
JUnit Jupiter extension that simplifies testing of Temporal activities and supports calls to Activity methods from the tested activities.
TestActivityExtension.Builder - Class in io.temporal.testing
 
TestEnvironmentOptions - Class in io.temporal.testing
 
TestEnvironmentOptions.Builder - Class in io.temporal.testing
 
testFailed(ExtensionContext, Throwable) - Method in class io.temporal.testing.TestWorkflowExtension
 
TestServiceUtils - Class in io.temporal.testing.internal
 
TestWorkflowEnvironment - Interface in io.temporal.testing
TestWorkflowEnvironment provides workflow unit testing capabilities.
TestWorkflowEnvironmentInternal - Class in io.temporal.testing
 
TestWorkflowEnvironmentInternal(TestEnvironmentOptions) - Constructor for class io.temporal.testing.TestWorkflowEnvironmentInternal
 
TestWorkflowExtension - Class in io.temporal.testing
JUnit Jupiter extension that simplifies testing of Temporal workflows.
TestWorkflowExtension.Builder - Class in io.temporal.testing
 
TestWorkflowRule - Class in io.temporal.testing
JUnit4
TestWorkflowRule.Builder - Class in io.temporal.testing
 
toString() - Method in class io.temporal.testing.TestEnvironmentOptions
 
TracingWorkerInterceptor - Class in io.temporal.testing.internal
 
TracingWorkerInterceptor(TracingWorkerInterceptor.FilteredTrace) - Constructor for class io.temporal.testing.internal.TracingWorkerInterceptor
 
TracingWorkerInterceptor.FilteredTrace - Class in io.temporal.testing.internal
 

U

useExternalService - Static variable in class io.temporal.testing.internal.SDKTestWorkflowRule
 
useExternalService() - Method in class io.temporal.testing.TestWorkflowExtension.Builder
Switches to external Temporal service implementation with default endpoint of 127.0.0.1:7233.
useExternalService(String) - Method in class io.temporal.testing.TestWorkflowExtension.Builder
Switches to external Temporal service implementation.
useInternalService() - Method in class io.temporal.testing.TestWorkflowExtension.Builder
Switches to internal in-memory Temporal service implementation (default).
UUID_REGEXP - Static variable in class io.temporal.testing.internal.SDKTestWorkflowRule
 

V

validateAndBuildWithDefaults() - Method in class io.temporal.testing.TestEnvironmentOptions.Builder
 
value() - Method in annotation type io.temporal.internal.Issue
 
value() - Method in annotation type io.temporal.testing.WorkflowInitialTime
 

W

waitForOKQuery(Object) - Static method in class io.temporal.testing.internal.SDKTestWorkflowRule
Used to ensure that workflow first workflow task is executed.
waitForSignal() - Method in class io.temporal.internal.Signal
Wait indefinitely for the done signal
waitForSignal(long) - Method in class io.temporal.internal.Signal
Wait up to timeout for the signal
waitForSignal(long, TemporalUnit) - Method in class io.temporal.internal.Signal
Wait up to timeout for the signal
waitForSignal(long, TimeUnit) - Method in class io.temporal.internal.Signal
Wait up to timeout for the signal
waitForSignal(Duration) - Method in class io.temporal.internal.Signal
Wait up to timeout for the signal
waitForTheEndOfWFT(String) - Method in class io.temporal.testing.internal.SDKTestWorkflowRule
Waits till the end of the workflow task if there is a workflow task in progress
WorkflowHistoryLoader - Class in io.temporal.testing
Expose methods to read and deserialize workflow execution history from json.
To be used with WorkflowReplayer
workflowId - Variable in class io.temporal.testing.ReplayResults.ReplayError
 
WorkflowInitialTime - Annotation Type in io.temporal.testing
JUnit5 only
WorkflowReplayer - Class in io.temporal.testing
Replays a workflow given its history.
WorkflowReplayer() - Constructor for class io.temporal.testing.WorkflowReplayer
 
A B C D E F G H I M N P R S T U V W 
All Classes All Packages