public StoryDefinitionExtended extends 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 interface StoryDefinition.
Warning: advanced usage only.
name,
interface StoryDefinition@NotNull java.util.Set<ai.tock.bot.definition.IntentAware> getOtherStarterIntents()
@NotNull java.util.Set<ai.tock.bot.definition.IntentAware> getSecondaryIntents()
@NotNull java.util.Set<ai.tock.bot.definition.StoryStep> getSteps()
The root steps of the story.
@Nullable ai.tock.translator.UserInterfaceType getUnsupportedUserInterface()
@NotNull java.util.Set<ai.tock.translator.UserInterfaceType> getUnsupportedUserInterfaces()
When this story does not support all UserInterfaceTypes.
@NotNull java.lang.String getName()
@NotNull java.lang.String getId()
An unique identifier for a given bot.
@NotNull java.util.Set<ai.tock.bot.definition.Intent> getStarterIntents()
One or more intents that start the story. Usually, you don't have the same starter intent in two different story definition.
@NotNull java.util.Set<ai.tock.bot.definition.Intent> getIntents()
The complete list of intents supported by the story.