Package ai.tock.bot.admin.message
Class SentenceConfiguration
-
- 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.
-
-
Constructor Summary
Constructors Constructor Description SentenceConfiguration(I18nLabelValue text, List<SentenceElementConfiguration> messages, Long delay)
-
Method Summary
Modifier and Type Method Description EventTypegetEventType()final I18nLabelValuegetText()final List<SentenceElementConfiguration>getMessages()LonggetDelay()ActiontoAction(PlayerId playerId, String applicationId, PlayerId recipientId, Locale locale, UserInterfaceType userInterfaceType)-
-
Constructor Detail
-
SentenceConfiguration
SentenceConfiguration(I18nLabelValue text, List<SentenceElementConfiguration> messages, Long delay)
-
-
Method Detail
-
getEventType
EventType getEventType()
-
getText
final I18nLabelValue getText()
-
getMessages
final List<SentenceElementConfiguration> getMessages()
-
-
-
-