Package org.bukkit.conversations
Class ConversationAbandonedEvent
java.lang.Object
java.util.EventObject
org.bukkit.conversations.ConversationAbandonedEvent
- All Implemented Interfaces:
- Serializable
ConversationAbandonedEvent contains information about an abandoned
 conversation.
- See Also:
- 
Field SummaryFields inherited from class java.util.EventObjectsource
- 
Constructor SummaryConstructorsConstructorDescriptionConversationAbandonedEvent(@NotNull Conversation conversation) ConversationAbandonedEvent(@NotNull Conversation conversation, @Nullable ConversationCanceller canceller) 
- 
Method SummaryModifier and TypeMethodDescriptionGets the object that caused the conversation to be abandoned.Gets the abandoned conversation's conversation context.booleanIndicates how the conversation was abandoned - naturally as part of the prompt chain or prematurely via aConversationCanceller.Methods inherited from class java.util.EventObjectgetSource, toString
- 
Constructor Details- 
ConversationAbandonedEvent
- 
ConversationAbandonedEventpublic ConversationAbandonedEvent(@NotNull @NotNull Conversation conversation, @Nullable @Nullable ConversationCanceller canceller) 
 
- 
- 
Method Details- 
getCancellerGets the object that caused the conversation to be abandoned.- Returns:
- The object that abandoned the conversation.
 
- 
getContextGets the abandoned conversation's conversation context.- Returns:
- The abandoned conversation's conversation context.
 
- 
gracefulExitpublic boolean gracefulExit()Indicates how the conversation was abandoned - naturally as part of the prompt chain or prematurely via aConversationCanceller.- Returns:
- True if the conversation is abandoned gracefully by a Promptreturning null or the next prompt. False of the conversations is abandoned prematurely by a ConversationCanceller.
 
 
-