-
- All Implemented Interfaces:
-
ai.tock.bot.definition.StoryHandlerDefinition,ai.tock.bot.engine.BotBus,ai.tock.bot.engine.Bus,ai.tock.bot.engine.I18nTranslator,ai.tock.translator.I18nKeyProvider
@GAHandler(value = GAScoreboardConnector.class)@MessengerHandler(value = MessengerScoreboardConnector.class) public abstract class ScoreboardDef extends StoryHandlerDefinitionBase<ScoreboardConnector>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classScoreboardDef.Companion
-
Field Summary
Fields Modifier and Type Field Description private final Placeoprivate Array<StationStop>displayedStopsprivate final Integerordinalprivate final StringheaderMessageprivate final StringnoResultMessageprivate final StringnextMessageprivate final StringitemSubtitleMessageprivate final Actionactionprivate final StringapplicationIdprivate final BotDefinitionbotDefinitionprivate final PlayerIdbotIdprivate final BotBusbusprivate final ScoreboardConnectorcprivate final ScoreboardConnectorconnectorprivate final ConnectorDataconnectorDataprivate final ConnectorTypeconnectorTypeprivate final StringcontextIdprivate final IntegercurrentAnswerIndexprivate final DialogcurrentDialogprivate final IntentAwarecurrentIntentprivate final Dialogdialogprivate final Map<String, EntityStateValue>entitiesprivate I18nKeyProvideri18nProviderprivate final IntentAwareintentprivate NextUserActionStatenextUserActionStateprivate StoryStep<out StoryHandlerDefinition>stepprivate final StringstepNameprivate Storystoryprivate final ConnectorTypetargetConnectorTypeprivate final Booleantestprivate final ConnectorunderlyingConnectorprivate final PlayerIduserIdprivate final UserInterfaceTypeuserInterfaceTypeprivate final LocaleuserLocaleprivate final UserPreferencesuserPreferencesprivate final StringuserTextprivate final UserTimelineuserTimeline
-
Constructor Summary
Constructors Constructor Description ScoreboardDef(BotBus bus)
-
Method Summary
Modifier and Type Method Description final PlacegetO()final Array<StationStop>getDisplayedStops()final UnitsetDisplayedStops(Array<StationStop> displayedStops)final IntegergetOrdinal()abstract StringgetHeaderMessage()abstract StringgetNoResultMessage()abstract StringgetNextMessage()abstract StringgetItemSubtitleMessage()abstract List<StationStop>retrieveStops()abstract LocalDateTimetimeFor(StationStop stop)abstract CharSequenceitemTitle(StationStop stop)Unitanswer()-
Methods inherited from class ai.tock.bot.engine.BotBus
booleanChoice, changeContextValue, changeContextValue, changeEntityText, changeEntityValue, changeEntityValue, changeEntityValue, choice, contextValue, contextValue, defaultDelay, end, end, end, end, end, end, end, endRawText, entityText, entityText, entityValue, entityValue, entityValueDetails, entityValueDetails, getAction, getBotDefinition, getBusContextValue, getBusContextValue, getConnectorData, getContextId, getCurrentDialog, getCurrentIntent, getDialog, getEntities, getI18nProvider, getNextUserActionState, getStep, getStepName, getStory, getTest, getUnderlyingConnector, getUserPreferences, getUserText, getUserTimeline, handleAndSwitchStory, hasActionEntity, hasActionEntity, hasChoiceValue, i18n, i18nKey, isChoiceAction, isCompatibleWith, isFeatureEnabled, isIntent, markAsUnknown, nlpStats, reloadProfile, removeAllEntityValues, removeEntityValue, removeEntityValue, resetDialogState, send, send, send, send, send, send, send, send, setBusContextValue, setBusContextValue, setI18nProvider, setNextUserActionState, setStep, setStory, skipAnswer, switchStory, withMessage, withNotificationType, withPriority, withVisibility -
Methods inherited from class ai.tock.bot.engine.Bus
getApplicationId, getBotId, getCurrentAnswerIndex, getIntent, getUserId, sendRawText, withMessage, withMessage -
Methods inherited from class ai.tock.bot.definition.StoryHandlerDefinitionBase
findConnector, findConnector, getBus, getC, getConnector, getConnectorType, handle -
Methods inherited from class ai.tock.bot.engine.I18nTranslator
getTargetConnectorType, getUserInterfaceType, getUserLocale, translate, translate, translate, translateAndReturnBlankAsNull -
Methods inherited from class ai.tock.bot.definition.StoryHandlerDefinition
answerWith -
Methods inherited from class ai.tock.translator.I18nKeyProvider
i18n -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
getDisplayedStops
final Array<StationStop> getDisplayedStops()
-
setDisplayedStops
final Unit setDisplayedStops(Array<StationStop> displayedStops)
-
getOrdinal
final Integer getOrdinal()
-
getHeaderMessage
abstract String getHeaderMessage()
-
getNoResultMessage
abstract String getNoResultMessage()
-
getNextMessage
abstract String getNextMessage()
-
getItemSubtitleMessage
abstract String getItemSubtitleMessage()
-
retrieveStops
abstract List<StationStop> retrieveStops()
-
timeFor
abstract LocalDateTime timeFor(StationStop stop)
-
itemTitle
abstract CharSequence itemTitle(StationStop stop)
-
-
-
-