public class ConversationAbandonedEvent extends EventObject
source
Constructor and Description |
---|
ConversationAbandonedEvent(Conversation conversation) |
ConversationAbandonedEvent(Conversation conversation,
ConversationCanceller canceller) |
Modifier and Type | Method and Description |
---|---|
ConversationCanceller |
getCanceller()
Gets the object that caused the conversation to be abandoned.
|
ConversationContext |
getContext()
Gets the abandoned conversation's conversation context.
|
boolean |
gracefulExit()
Indicates how the conversation was abandoned - naturally as part of the
prompt chain or prematurely via a
ConversationCanceller . |
getSource, toString
public ConversationAbandonedEvent(Conversation conversation)
public ConversationAbandonedEvent(Conversation conversation, ConversationCanceller canceller)
public ConversationCanceller getCanceller()
public ConversationContext getContext()
public boolean gracefulExit()
ConversationCanceller
.Prompt
returning null or the next prompt. False of the
conversations is abandoned prematurely by a ConversationCanceller.Copyright © 2021. All rights reserved.