Interface StoryDataStep

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      Function1<T, Object> answer() The custom answer for this step.
      Function2<T, TD, Boolean> selectFromBusAndData() Does this Step has to be selected from the Bus?
      Function2<T, TD, D> checkPreconditions() Checks preconditions - if BotBus.end is called, StoryHandlerDefinition.handle is not called and the handling of bot answer is over.
      Function2<T, D, Object> handler() The custom handler for this step.
      • Methods inherited from class ai.tock.bot.definition.StoryStep

        getBaseIntent, getChildren, getEntityStepSelection, getHasNoChildren, getIntent, getMetrics, getName, getOtherStarterIntents, getSecondaryIntents, selectFromAction, selectFromActionAndEntityStepSelection, selectFromBus, selectFromDialog, selectFromDialogAndEntityStepSelection, supportIntent, supportStarterIntent
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail