|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ConversationCanceller
A ConversationCanceller is a class that cancels an active Conversation. A Conversation can have more
than one ConversationCanceller.
| Method Summary | |
|---|---|
boolean |
cancelBasedOnInput(ConversationContext context,
String input)
Cancels a conversation based on user input/ |
ConversationCanceller |
clone()
Allows the ConversationFactory to duplicate this ConversationCanceller when creating a new Conversation. |
void |
setConversation(Conversation conversation)
Sets the conversation this ConversationCanceller can optionally cancel. |
| Method Detail |
|---|
void setConversation(Conversation conversation)
conversation - A conversation.
boolean cancelBasedOnInput(ConversationContext context,
String input)
context - Context information about the conversation.input - The input text from the user.
ConversationCanceller clone()
ConversationFactory to duplicate this ConversationCanceller when creating a new Conversation.
Implementing this method should reset any internal object state.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||