-
- All Implemented Interfaces:
-
ai.tock.bot.definition.IntentAware,ai.tock.bot.definition.StoryHandler,ai.tock.translator.I18nKeyProvider
public class Departures extends Scoreboard
-
-
Field Summary
Fields Modifier and Type Field Description private final StringmissingOriginMessageprivate final Longbreathprivate Stringi18nNamespaceprivate final StringmainIntentNamepublic final static DeparturesINSTANCE
-
Method Summary
Modifier and Type Method Description ScoreboardDefnewHandlerDefinition(BotBus bus, Object data)StringgetMissingOriginMessage()final LonggetBreath()final StringgetI18nNamespace()final StringgetMainIntentName()final UnitsetI18nNamespace(String i18nNamespace)-
Methods inherited from class ai.tock.bot.open.data.story.Departures
checkPreconditions -
Methods inherited from class ai.tock.bot.definition.StoryHandler
equals, hashCode, toString -
Methods inherited from class ai.tock.bot.open.data.story.Scoreboard
findMainIntentName, findStoryDefinition, handle, handleAndSwitchStory, i18n, i18nKey, i18nKeyCategory, selectStepFromStoryHandlerAndData, setupHandlerDefinition, support, wrappedIntent -
Methods inherited from class ai.tock.bot.definition.StoryHandlerBase
i18n, intentWithoutNamespace, wrap -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
newHandlerDefinition
ScoreboardDef newHandlerDefinition(BotBus bus, Object data)
-
getMissingOriginMessage
String getMissingOriginMessage()
-
getI18nNamespace
final String getI18nNamespace()
-
getMainIntentName
final String getMainIntentName()
-
setI18nNamespace
final Unit setI18nNamespace(String i18nNamespace)
-
-
-
-