Package ai.tock.bot.definition
Interface StoryDefinitionExtended
-
- All Implemented Interfaces:
-
ai.tock.bot.definition.IntentAware,ai.tock.bot.definition.StoryDefinition
public interface StoryDefinitionExtended implements StoryDefinition
Helper methods for StoryDefinition implementation. Usually direct implementations are enums. This interface add a starter (and main) intent with intent name equals to the property of value name to the StoryDefinition. Warning: advanced usage only.
-
-
Method Summary
Modifier and Type Method Description Set<IntentAware>getOtherStarterIntents()Set<IntentAware>getSecondaryIntents()Array<out StoryStep<out StoryHandlerDefinition>>getStepsArray()Set<StoryStep<out StoryHandlerDefinition>>getSteps()The root steps of the story. UserInterfaceTypegetUnsupportedUserInterface()Set<UserInterfaceType>getUnsupportedUserInterfaces()When this story does not support all UserInterfaceTypes. abstract StringgetName()StringgetId()An unique identifier for a given bot. Set<Intent>getStarterIntents()One or more intents that start the story. Set<Intent>getIntents()The complete list of intents supported by the story. -
Methods inherited from class ai.tock.bot.definition.StoryDefinition
allSteps, getMetricStory, getStoryHandler, getTags, hasTag, isStarterIntent, mainIntent, supportIntent, wrappedIntent -
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
-
-
Method Detail
-
getOtherStarterIntents
Set<IntentAware> getOtherStarterIntents()
-
getSecondaryIntents
Set<IntentAware> getSecondaryIntents()
-
getStepsArray
Array<out StoryStep<out StoryHandlerDefinition>> getStepsArray()
-
getSteps
Set<StoryStep<out StoryHandlerDefinition>> getSteps()
The root steps of the story.
-
getUnsupportedUserInterface
UserInterfaceType getUnsupportedUserInterface()
-
getUnsupportedUserInterfaces
Set<UserInterfaceType> getUnsupportedUserInterfaces()
When this story does not support all UserInterfaceTypes.
-
getStarterIntents
Set<Intent> getStarterIntents()
One or more intents that start the story. Usually, you don't have the same starter intent in two different story definition.
-
getIntents
Set<Intent> getIntents()
The complete list of intents supported by the story.
-
-
-
-