Class ConfigurableStoryHandler

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private final Long breath
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      T newHandlerDefinition(BotBus bus, Object data) Instantiates new instance of T.
      Function1<BotBus, Object> checkPreconditions() Checks preconditions - if BotBus.end is called, StoryHandlerDefinition.handle is not called and the handling of bot answer is over.
      • Methods inherited from class ai.tock.bot.definition.StoryHandlerBase

        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