Bukkit-API  1.7.9-R0.2
The inofficial Bukkit-API
org.bukkit.conversations.ManuallyAbandonedConversationCanceller Class Reference
Inheritance diagram for org.bukkit.conversations.ManuallyAbandonedConversationCanceller:

Public Member Functions

void setConversation (Conversation conversation)
boolean cancelBasedOnInput (ConversationContext context, String input)
ConversationCanceller clone ()

Detailed Description

The ManuallyAbandonedConversationCanceller is only used as part of a ConversationAbandonedEvent to indicate that the conversation was manually abandoned by programmatically calling the abandon() method on it.

Definition at line 8 of file ManuallyAbandonedConversationCanceller.java.

Member Function Documentation

boolean org.bukkit.conversations.ManuallyAbandonedConversationCanceller.cancelBasedOnInput ( ConversationContext  context,
String  input 

Cancels a conversation based on user input.

contextContext information about the conversation.
inputThe input text from the user.
True to cancel the conversation, False otherwise.

Implements org.bukkit.conversations.ConversationCanceller.

Definition at line 13 of file ManuallyAbandonedConversationCanceller.java.

13  {
14  throw new UnsupportedOperationException();
15  }
ConversationCanceller org.bukkit.conversations.ManuallyAbandonedConversationCanceller.clone ( )

Allows the ConversationFactory to duplicate this ConversationCanceller when creating a new Conversation.

Implementing this method should reset any internal object state.

A clone.

Implements org.bukkit.conversations.ConversationCanceller.

Definition at line 17 of file ManuallyAbandonedConversationCanceller.java.

17  {
18  throw new UnsupportedOperationException();
19  }
void org.bukkit.conversations.ManuallyAbandonedConversationCanceller.setConversation ( Conversation  conversation)

Sets the conversation this ConversationCanceller can optionally cancel.

conversationA conversation.

Implements org.bukkit.conversations.ConversationCanceller.

Definition at line 9 of file ManuallyAbandonedConversationCanceller.java.

9  {
10  throw new UnsupportedOperationException();
11  }

The documentation for this class was generated from the following file: