Package ai.tock.bot.definition
Class ConnectorStoryHandlerBase
-
- All Implemented Interfaces:
-
ai.tock.bot.definition.ConnectorStoryHandler,ai.tock.bot.engine.BotBus,ai.tock.bot.engine.Bus,ai.tock.bot.engine.I18nTranslator,ai.tock.translator.I18nKeyProvider
public abstract class ConnectorStoryHandlerBase<T extends StoryHandlerDefinition> implements BotBus, ConnectorStoryHandler<T>
Base implementation of ConnectorStoryHandler.
-
-
Field Summary
-
Constructor Summary
Constructors Constructor Description ConnectorStoryHandlerBase(T context)
-
Method Summary
Modifier and Type Method Description TgetContext()The StoryHandlerDefinition of this connector handler. -
Methods inherited from class ai.tock.bot.engine.BotBus
booleanChoice, changeContextValue, changeContextValue, changeEntityText, changeEntityValue, changeEntityValue, changeEntityValue, changeUserLocale, choice, contextValue, contextValue, createMetric, defaultDelay, end, end, end, end, end, end, end, endRawText, entityText, entityText, entityValue, entityValue, entityValueDetails, entityValueDetails, getAction, getBotDefinition, getBusContextValue, getBusContextValue, getConnectorData, getContextId, getCurrentDialog, getCurrentIntent, getDialog, getEntities, getI18nProvider, getNextUserActionState, getStep, getStepName, getStory, getTest, getTrackedStoryId, getUnderlyingConnector, getUserPreferences, getUserText, getUserTimeline, handleAndSwitchStory, hasActionEntity, hasActionEntity, hasChoiceValue, i18n, i18nKey, i18nKey, isChoiceAction, isCompatibleWith, isFeatureEnabled, isIntent, markAsUnknown, nlpStats, reloadProfile, removeAllEntityValues, removeEntityValue, removeEntityValue, resetDialogState, send, send, send, send, send, send, send, send, setBusContextValue, setBusContextValue, setI18nProvider, setNextUserActionState, setStep, setStory, skipAnswer, switchStory, withMessage, withNotificationType, withPriority, withVisibility -
Methods inherited from class ai.tock.bot.engine.Bus
getApplicationId, getBotId, getCurrentAnswerIndex, getIntent, getUserId, sendDebugData, sendRawText, withMessage, withMessage -
Methods inherited from class ai.tock.bot.engine.I18nTranslator
getSourceConnectorType, getTargetConnectorType, getUserInterfaceType, getUserLocale, translate, translate, translate, translateAndReturnBlankAsNull -
Methods inherited from class ai.tock.translator.I18nKeyProvider
i18n -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
ConnectorStoryHandlerBase
ConnectorStoryHandlerBase(T context)
-
-
Method Detail
-
getContext
T getContext()
The StoryHandlerDefinition of this connector handler.
-
-
-
-