CloneableExactMatchConversationCanceller, InactivityConversationCanceller, ManuallyAbandonedConversationCancellerpublic interface ConversationCanceller extends Cloneable
Conversation. A Conversation can have more than one ConversationCanceller.| Modifier and Type | Method | Description | 
|---|---|---|
| boolean | cancelBasedOnInput(ConversationContext context,
                  String input) | Cancels a conversation based on user input. | 
| ConversationCanceller | clone() | Allows the  ConversationFactoryto duplicate this
 ConversationCanceller when creating a newConversation. | 
| void | setConversation(Conversation conversation) | Sets the conversation this ConversationCanceller can optionally cancel. | 
void setConversation(@NotNull
                     Conversation conversation)
conversation - A conversation.boolean cancelBasedOnInput(@NotNull
                           ConversationContext context,
                           @NotNull
                           String input)
context - Context information about the conversation.input - The input text from the user.@NotNull ConversationCanceller clone()
ConversationFactory to duplicate this
 ConversationCanceller when creating a new Conversation.
 Implementing this method should reset any internal object state.
Copyright © 2020. All rights reserved.