Bukkit  1.4.7-R1.0
 All Classes Namespaces Files Functions Variables Enumerator Pages
org.bukkit.conversations.ExactMatchConversationCanceller Class Reference

An ExactMatchConversationCanceller cancels a conversation if the user enters an exact input string. More...

+ Inheritance diagram for org.bukkit.conversations.ExactMatchConversationCanceller:
+ Collaboration diagram for org.bukkit.conversations.ExactMatchConversationCanceller:

Public Member Functions

 ExactMatchConversationCanceller (String escapeSequence)
 Builds an ExactMatchConversationCanceller.
 
void setConversation (Conversation conversation)
 
boolean cancelBasedOnInput (ConversationContext context, String input)
 
ConversationCanceller clone ()
 
- Public Member Functions inherited from org.bukkit.conversations.ConversationCanceller
void setConversation (Conversation conversation)
 Sets the conversation this ConversationCanceller can optionally cancel.
 
boolean cancelBasedOnInput (ConversationContext context, String input)
 Cancels a conversation based on user input/.
 
ConversationCanceller clone ()
 Allows the ConversationFactory to duplicate this ConversationCanceller when creating a new Conversation.
 

Detailed Description

An ExactMatchConversationCanceller cancels a conversation if the user enters an exact input string.

Definition at line 6 of file ExactMatchConversationCanceller.java.

Constructor & Destructor Documentation

org.bukkit.conversations.ExactMatchConversationCanceller.ExactMatchConversationCanceller ( String  escapeSequence)

Builds an ExactMatchConversationCanceller.

Parameters
escapeSequenceThe string that, if entered by the user, will cancel the conversation.

Definition at line 13 of file ExactMatchConversationCanceller.java.

Referenced by org.bukkit.conversations.ExactMatchConversationCanceller.clone().

Member Function Documentation

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

Definition at line 19 of file ExactMatchConversationCanceller.java.

ConversationCanceller org.bukkit.conversations.ExactMatchConversationCanceller.clone ( )
void org.bukkit.conversations.ExactMatchConversationCanceller.setConversation ( Conversation  conversation)

Definition at line 17 of file ExactMatchConversationCanceller.java.


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