public class SentenceConfiguration implements MessageConfiguration
Could be a simple text, or a complex message using interface ConnectorMessage constructor.
interface ConnectorMessage| Modifier and Type | Class and Description |
|---|---|
static class |
SentenceConfiguration.Companion |
MessageConfiguration.DefaultImpls| Modifier and Type | Field and Description |
|---|---|
static SentenceConfiguration.Companion |
Companion |
| Constructor and Description |
|---|
SentenceConfiguration(ai.tock.translator.I18nLabelValue text,
java.util.List<ai.tock.bot.admin.message.SentenceElementConfiguration> messages,
long delay)
Could be a simple text, or a complex message using
interface ConnectorMessage constructor. |
| Modifier and Type | Method and Description |
|---|---|
ai.tock.translator.I18nLabelValue |
component1() |
java.util.List<ai.tock.bot.admin.message.SentenceElementConfiguration> |
component2() |
long |
component3() |
SentenceConfiguration |
copy(ai.tock.translator.I18nLabelValue text,
java.util.List<ai.tock.bot.admin.message.SentenceElementConfiguration> messages,
long delay)
Could be a simple text, or a complex message using
interface ConnectorMessage constructor. |
boolean |
equals(java.lang.Object p) |
long |
getDelay() |
EventType |
getEventType() |
java.util.List<ai.tock.bot.admin.message.SentenceElementConfiguration> |
getMessages() |
ai.tock.translator.I18nLabelValue |
getText() |
int |
hashCode() |
Action |
toAction(PlayerId playerId,
java.lang.String applicationId,
PlayerId recipientId,
java.util.Locale locale,
ai.tock.translator.UserInterfaceType userInterfaceType) |
java.lang.String |
toString() |
getDelay, getEventType, toAction, toActionpublic static SentenceConfiguration.Companion Companion
public SentenceConfiguration(@Nullable
ai.tock.translator.I18nLabelValue text,
@NotNull
java.util.List<ai.tock.bot.admin.message.SentenceElementConfiguration> messages,
long delay)
Could be a simple text, or a complex message using interface ConnectorMessage constructor.
interface ConnectorMessage@NotNull public EventType getEventType()
@NotNull public Action toAction(@NotNull PlayerId playerId, @NotNull java.lang.String applicationId, @NotNull PlayerId recipientId, @NotNull java.util.Locale locale, @NotNull ai.tock.translator.UserInterfaceType userInterfaceType)
@Nullable public ai.tock.translator.I18nLabelValue getText()
@NotNull public java.util.List<ai.tock.bot.admin.message.SentenceElementConfiguration> getMessages()
public long getDelay()
@Nullable public ai.tock.translator.I18nLabelValue component1()
@NotNull public java.util.List<ai.tock.bot.admin.message.SentenceElementConfiguration> component2()
public long component3()
@NotNull public SentenceConfiguration copy(@Nullable ai.tock.translator.I18nLabelValue text, @NotNull java.util.List<ai.tock.bot.admin.message.SentenceElementConfiguration> messages, long delay)
Could be a simple text, or a complex message using interface ConnectorMessage constructor.
interface ConnectorMessage@NotNull public java.lang.String toString()
public int hashCode()
public boolean equals(@Nullable
java.lang.Object p)