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, toStringpublic ConversationAbandonedEvent(@NotNull
Conversation conversation)
public ConversationAbandonedEvent(@NotNull
Conversation conversation,
@Nullable
ConversationCanceller canceller)
@Nullable public ConversationCanceller getCanceller()
@NotNull 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 © 2022. All rights reserved.