java.io.Serializable
public class ConversationAbandonedEvent
extends java.util.EventObject
Constructor | Description |
---|---|
ConversationAbandonedEvent(Conversation conversation) |
|
ConversationAbandonedEvent(Conversation conversation,
ConversationCanceller canceller) |
Modifier and Type | Method | 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 . |
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 © 2018. All rights reserved.