tock / ai.tock.bot.definition / ConnectorHandlerProvider

# ConnectorHandlerProvider

`interface ConnectorHandlerProvider` (source)

Provides ConnectorHandler.

### Functions

#### provide | Method to override in order to provide ConnectorStoryHandler from ConnectorType. Default implementation use annotations annotated with @ConnectorHandler. `open fun provide(storyDef: StoryHandlerDefinition, connectorType: ConnectorType): ConnectorStoryHandlerBase<*>?` Method to override in order to provide ConnectorStoryHandler from connectorId. Default implementation use annotations annotated with @ConnectorIdHandlers. `open fun provide(storyDef: StoryHandlerDefinition, connectorId: String): ConnectorStoryHandlerBase<*>?`