public class ChoiceConfiguration implements MessageConfiguration
A user choice.
MessageConfiguration.DefaultImpls| Constructor and Description |
|---|
ChoiceConfiguration(java.lang.String intentName,
java.util.Map<java.lang.String,java.lang.String> parameters,
long delay)
A user choice.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
component1() |
java.util.Map<java.lang.String,java.lang.String> |
component2() |
long |
component3() |
ChoiceConfiguration |
copy(java.lang.String intentName,
java.util.Map<java.lang.String,java.lang.String> parameters,
long delay)
A user choice.
|
boolean |
equals(java.lang.Object p) |
long |
getDelay() |
EventType |
getEventType() |
java.lang.String |
getIntentName() |
java.util.Map<java.lang.String,java.lang.String> |
getParameters() |
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 ChoiceConfiguration(@NotNull
java.lang.String intentName,
@NotNull
java.util.Map<java.lang.String,java.lang.String> parameters,
long delay)
A user choice.
@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)
@NotNull public java.lang.String getIntentName()
@NotNull public java.util.Map<java.lang.String,java.lang.String> getParameters()
public long getDelay()
@NotNull public java.lang.String component1()
@NotNull public java.util.Map<java.lang.String,java.lang.String> component2()
public long component3()
@NotNull public ChoiceConfiguration copy(@NotNull java.lang.String intentName, @NotNull java.util.Map<java.lang.String,java.lang.String> parameters, long delay)
A user choice.
@NotNull public java.lang.String toString()
public int hashCode()
public boolean equals(@Nullable
java.lang.Object p)