tock / ai.tock.bot.definition / ConnectorHandlerProvider / provide

# provide

`open fun provide(storyDef: StoryHandlerDefinition, connectorType: ConnectorType): ConnectorStoryHandlerBase<*>?` (source)

Method to override in order to provide ConnectorStoryHandler from ConnectorType. Default implementation use annotations annotated with @ConnectorHandler.

`open fun provide(storyDef: StoryHandlerDefinition, connectorId: String): ConnectorStoryHandlerBase<*>?` (source)

Method to override in order to provide ConnectorStoryHandler from connectorId. Default implementation use annotations annotated with @ConnectorIdHandlers.