Class ServiceStubsTemplate


  • public class ServiceStubsTemplate
    extends java.lang.Object
    • Constructor Detail

      • ServiceStubsTemplate

        public ServiceStubsTemplate​(@Nonnull
                                    ConnectionProperties connectionProperties,
                                    @Nullable
                                    com.uber.m3.tally.Scope metricsScope,
                                    @Nullable
                                    TestWorkflowEnvironmentAdapter testWorkflowEnvironment,
                                    @Nullable
                                    java.util.List<TemporalOptionsCustomizer<io.temporal.serviceclient.WorkflowServiceStubsOptions.Builder>> workflowServiceStubsCustomizers,
                                    @Nullable
                                    java.util.List<io.temporal.serviceclient.WorkflowServiceStubsPlugin> plugins)
      • ServiceStubsTemplate

        @Deprecated
        public ServiceStubsTemplate​(@Nonnull
                                    ConnectionProperties connectionProperties,
                                    @Nullable
                                    com.uber.m3.tally.Scope metricsScope,
                                    @Nullable
                                    TestWorkflowEnvironmentAdapter testWorkflowEnvironment,
                                    @Nullable
                                    java.util.List<TemporalOptionsCustomizer<io.temporal.serviceclient.WorkflowServiceStubsOptions.Builder>> workflowServiceStubsCustomizers)
        Deprecated.
        Use constructor with plugins parameter
    • Method Detail

      • getWorkflowServiceStubs

        public io.temporal.serviceclient.WorkflowServiceStubs getWorkflowServiceStubs()