Package io.temporal.client.schedules
Interface ScheduleClientPlugin
-
- All Known Implementing Classes:
SimplePlugin
@Experimental public interface ScheduleClientPlugin
Plugin interface for customizing Temporal schedule client configuration.Plugins that implement both
WorkflowServiceStubsPluginandScheduleClientPluginare automatically propagated from the service stubs to the schedule client.- See Also:
WorkflowServiceStubsPlugin
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidconfigureScheduleClient(ScheduleClientOptions.Builder builder)Allows the plugin to modify schedule client options before the client is created.java.lang.StringgetName()Returns a unique name for this plugin.
-
-
-
Method Detail
-
getName
@Nonnull java.lang.String getName()
Returns a unique name for this plugin. Used for logging and duplicate detection. Recommended format: "organization.plugin-name" (e.g., "io.temporal.tracing")- Returns:
- fully qualified plugin name
-
configureScheduleClient
void configureScheduleClient(@Nonnull ScheduleClientOptions.Builder builder)Allows the plugin to modify schedule client options before the client is created. Called during configuration phase in forward (registration) order.- Parameters:
builder- the options builder to modify
-
-