Interface TemporalOptionsCustomizer<T>
- Type Parameters:
T- Temporal Options Builder to customize. Respected types:WorkflowServiceStubsOptions.Builder,WorkflowClientOptions.Builder,TestEnvironmentOptions.Builder,WorkerOptions.Builder,WorkerFactoryOptions.Builder,WorkflowImplementationOptions.Builder
- All Known Subinterfaces:
WorkerOptionsCustomizer,WorkflowImplementationOptionsCustomizer
public interface TemporalOptionsCustomizer<T>
Beans of this class can be added to Spring context to get a fine control over *Options objects
that are created by Temporal Spring Boot Autoconfigure module.
Multiple beans of each generic type can be added to Spring context. They will be ordered,
taking into account Ordered and @Order values of the target
- See Also:
-
Method Summary
-
Method Details
-
customize
This method can modify some fields of the provided builder or create a new builder altogether and return it back to be used. This method is called after the*Options.Builderis initialized by the Temporal Spring Boot module, so changes done by this method will override Spring Boot configuration values.- Parameters:
optionsBuilder-*Options.Builderto customize- Returns:
- modified
optionsBuilderor a new builder to be used by the caller code.
-