-
- All Implemented Interfaces:
-
ai.tock.bot.definition.IntentAware,ai.tock.bot.definition.StoryHandler,ai.tock.translator.I18nKeyProvider
public abstract class Scoreboard extends StoryHandlerBase<ScoreboardDef>
-
-
Field Summary
Fields Modifier and Type Field Description private final StringmissingOriginMessageprivate final Longbreathprivate Stringi18nNamespaceprivate final StringmainIntentName
-
Constructor Summary
Constructors Constructor Description Scoreboard()
-
Method Summary
Modifier and Type Method Description Function1<BotBus, Unit>checkPreconditions()abstract StringgetMissingOriginMessage()final LonggetBreath()final StringgetI18nNamespace()final StringgetMainIntentName()final UnitsetI18nNamespace(String i18nNamespace)-
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, newHandlerDefinition, 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
-
checkPreconditions
Function1<BotBus, Unit> checkPreconditions()
-
getMissingOriginMessage
abstract String getMissingOriginMessage()
-
getI18nNamespace
final String getI18nNamespace()
-
getMainIntentName
final String getMainIntentName()
-
setI18nNamespace
final Unit setI18nNamespace(String i18nNamespace)
-
-
-
-