Package ai.tock.bot.definition
Class SimpleStoryHandlerBase
-
- All Implemented Interfaces:
-
ai.tock.bot.definition.IntentAware,ai.tock.bot.definition.StoryHandler,ai.tock.translator.I18nKeyProvider
public abstract class SimpleStoryHandlerBase extends StoryHandlerBase<StoryHandlerDefinition>
For simple stories that do not use custom StoryHandlerDefinition.
-
-
Constructor Summary
Constructors Constructor Description SimpleStoryHandlerBase(String mainIntentName)
-
Method Summary
Modifier and Type Method Description abstract Unitaction(BotBus bus)The method to implement. StoryHandlerDefinitionnewHandlerDefinition(BotBus bus, Object data)Instantiates new instance of T. -
Methods inherited from class ai.tock.bot.definition.StoryHandlerBase
checkPreconditions, findStoryDefinition, getBreath, handle, handleAndSwitchStory, i18n, i18nKey, i18nKey, selectStepFromStoryHandlerAndData, support, wrappedIntent -
Methods inherited from class ai.tock.translator.I18nKeyProvider
i18n -
Methods inherited from class ai.tock.bot.definition.IntentAware
intentWithoutNamespace, wrap -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
SimpleStoryHandlerBase
SimpleStoryHandlerBase(String mainIntentName)
-
-
Method Detail
-
newHandlerDefinition
StoryHandlerDefinition newHandlerDefinition(BotBus bus, Object data)
Instantiates new instance of T.
-
-
-
-