-
- All Implemented Interfaces:
-
ai.tock.bot.admin.message.MessageConfiguration
public final class SentenceConfiguration implements MessageConfiguration
Could be a simple text, or a complex message using ConnectorMessage constructor.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classSentenceConfiguration.Companion
-
Constructor Summary
Constructors Constructor Description SentenceConfiguration(I18nLabelValue text, List<SentenceElementConfiguration> messages, Long delay)
-
Method Summary
Modifier and Type Method Description ActiontoAction(PlayerId playerId, String applicationId, PlayerId recipientId, Locale locale, UserInterfaceType userInterfaceType)final I18nLabelValuecomponent1()final List<SentenceElementConfiguration>component2()final Longcomponent3()final SentenceConfigurationcopy(I18nLabelValue text, List<SentenceElementConfiguration> messages, Long delay)EventTypegetEventType()final I18nLabelValuegetText()final List<SentenceElementConfiguration>getMessages()LonggetDelay()-
Methods inherited from class ai.tock.bot.admin.message.SentenceConfiguration
toAction -
Methods inherited from class ai.tock.bot.admin.message.MessageConfiguration
equals, hashCode, toString -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
SentenceConfiguration
SentenceConfiguration(I18nLabelValue text, List<SentenceElementConfiguration> messages, Long delay)
-
-
Method Detail
-
toAction
Action toAction(PlayerId playerId, String applicationId, PlayerId recipientId, Locale locale, UserInterfaceType userInterfaceType)
-
component1
final I18nLabelValue component1()
-
component2
final List<SentenceElementConfiguration> component2()
-
component3
final Long component3()
-
copy
final SentenceConfiguration copy(I18nLabelValue text, List<SentenceElementConfiguration> messages, Long delay)
-
getEventType
EventType getEventType()
-
getText
final I18nLabelValue getText()
-
getMessages
final List<SentenceElementConfiguration> getMessages()
-
-
-
-