public class ActionMetadata
public ActionMetadata(boolean lastAnswer,
@NotNull
ActionPriority priority,
@Nullable
ActionNotificationType notificationType,
@NotNull
java.util.Map<ai.tock.bot.engine.action.Metadata,java.lang.Object> connectorMetadata)
lastAnswer - Is it the last answer of the bot.priority - Significance deals with the notification level.notificationType - tag deals with type of message notification.connectorMetadata - metadata dependant from some connectorspublic ActionMetadata()
public boolean getLastAnswer()
Is it the last answer of the bot.
public void setLastAnswer(boolean p)
Is it the last answer of the bot.
p - Is it the last answer of the bot.@NotNull public ActionPriority getPriority()
Significance deals with the notification level.
public void setPriority(@NotNull
ActionPriority p)
Significance deals with the notification level.
p - Significance deals with the notification level.@Nullable public ActionNotificationType getNotificationType()
tag deals with type of message notification.
public void setNotificationType(@Nullable
ActionNotificationType p)
tag deals with type of message notification.
p - tag deals with type of message notification.@NotNull public java.util.Map<ai.tock.bot.engine.action.Metadata,java.lang.Object> getConnectorMetadata()
metadata dependant from some connectors
public void setConnectorMetadata(@NotNull
java.util.Map<ai.tock.bot.engine.action.Metadata,java.lang.Object> p)
metadata dependant from some connectors
p - metadata dependant from some connectorspublic boolean component1()
Is it the last answer of the bot.
@NotNull public ActionPriority component2()
Significance deals with the notification level.
@Nullable public ActionNotificationType component3()
tag deals with type of message notification.
@NotNull public java.util.Map<ai.tock.bot.engine.action.Metadata,java.lang.Object> component4()
metadata dependant from some connectors
@NotNull public ActionMetadata copy(boolean lastAnswer, @NotNull ActionPriority priority, @Nullable ActionNotificationType notificationType, @NotNull java.util.Map<ai.tock.bot.engine.action.Metadata,java.lang.Object> connectorMetadata)
@NotNull public java.lang.String toString()
public int hashCode()
public boolean equals(@Nullable
java.lang.Object p)