public static final class TestEnvironmentOptions.Builder
extends java.lang.Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
TestEnvironmentOptions |
build() |
TestEnvironmentOptions.Builder |
setDataConverter(DataConverter dataConverter)
Sets data converter to use for unit-tests.
|
TestEnvironmentOptions.Builder |
setEnableLoggingInReplay(boolean enableLoggingInReplay)
Set whether to log during decision replay.
|
TestEnvironmentOptions.Builder |
setInterceptorFactory(java.util.function.Function<WorkflowInterceptor,WorkflowInterceptor> interceptorFactory)
Specifies an interceptor factory that creates interceptors for workflow calls like activity
invocations.
|
TestEnvironmentOptions.Builder |
setWorkerFactoryOptions(WorkerFactoryOptions options)
Set factoryOptions for worker factory used to create workers.
|
TestEnvironmentOptions.Builder |
setWorkflowClientOptions(WorkflowClientOptions workflowClientOptions) |
public TestEnvironmentOptions.Builder setWorkflowClientOptions(WorkflowClientOptions workflowClientOptions)
public TestEnvironmentOptions.Builder setDataConverter(DataConverter dataConverter)
JsonDataConverter
.public TestEnvironmentOptions.Builder setInterceptorFactory(java.util.function.Function<WorkflowInterceptor,WorkflowInterceptor> interceptorFactory)
public TestEnvironmentOptions.Builder setWorkerFactoryOptions(WorkerFactoryOptions options)
public TestEnvironmentOptions.Builder setEnableLoggingInReplay(boolean enableLoggingInReplay)
public TestEnvironmentOptions build()