-
- 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()UserInterfaceTypegetUnsupportedUserInterface()Set<UserInterfaceType>getUnsupportedUserInterfaces()abstract StringgetName()StringgetId()Set<Intent>getStarterIntents()Set<Intent>getIntents()Set<StoryTag>getTags()abstract StoryHandlergetStoryHandler()The story handler of the story. -
Methods inherited from class ai.tock.bot.definition.StoryDefinitionExtended
allSteps, hasTag, isStarterIntent, mainIntent, supportIntent, wrappedIntent -
Methods inherited from class ai.tock.bot.definition.StoryDefinition
intentWithoutNamespace, wrap -
Methods inherited from class ai.tock.bot.definition.IntentAware
equals, hashCode, toString -
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()
-
getUnsupportedUserInterface
UserInterfaceType getUnsupportedUserInterface()
-
getUnsupportedUserInterfaces
Set<UserInterfaceType> getUnsupportedUserInterfaces()
-
getStarterIntents
Set<Intent> getStarterIntents()
-
getIntents
Set<Intent> getIntents()
-
getStoryHandler
abstract StoryHandler getStoryHandler()
The story handler of the story.
-
-
-
-