public class ConversationAbandonedEvent extends EventObject
source
Constructor and Description |
---|
ConversationAbandonedEvent(@NotNull Conversation conversation) |
ConversationAbandonedEvent(@NotNull Conversation conversation,
@Nullable ConversationCanceller canceller) |
Modifier and Type | Method and Description |
---|---|
@Nullable ConversationCanceller |
getCanceller()
Gets the object that caused the conversation to be abandoned.
|
@NotNull 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(@NotNull @NotNull Conversation conversation)
public ConversationAbandonedEvent(@NotNull @NotNull Conversation conversation, @Nullable @Nullable ConversationCanceller canceller)
@Nullable public @Nullable ConversationCanceller getCanceller()
@NotNull public @NotNull 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.