Bukkit-API  1.7.9-R0.2
The inofficial Bukkit-API
org.bukkit.conversations.BooleanPrompt Class Referenceabstract
Inheritance diagram for org.bukkit.conversations.BooleanPrompt:
org.bukkit.conversations.ValidatingPrompt org.bukkit.conversations.Prompt

Protected Member Functions

boolean isInputValid (ConversationContext context, String input)
 
Prompt acceptValidatedInput (ConversationContext context, String input)
 
abstract Prompt acceptValidatedInput (ConversationContext context, boolean input)
 
- Protected Member Functions inherited from org.bukkit.conversations.ValidatingPrompt
abstract boolean isInputValid (ConversationContext context, String input)
 
abstract Prompt acceptValidatedInput (ConversationContext context, String input)
 
String getFailedValidationText (ConversationContext context, String invalidInput)
 

Additional Inherited Members

- Public Member Functions inherited from org.bukkit.conversations.ValidatingPrompt
Prompt acceptInput (ConversationContext context, String input)
 
boolean blocksForInput (ConversationContext context)
 
- Public Member Functions inherited from org.bukkit.conversations.Prompt
String getPromptText (ConversationContext context)
 
- Static Public Attributes inherited from org.bukkit.conversations.Prompt
static final Prompt END_OF_CONVERSATION = null
 

Detailed Description

BooleanPrompt is the base class for any prompt that requires a boolean response from the user.

Definition at line 10 of file BooleanPrompt.java.

Member Function Documentation

abstract Prompt org.bukkit.conversations.BooleanPrompt.acceptValidatedInput ( ConversationContext  context,
boolean  input 
)
abstractprotected

Override this method to perform some action with the user's boolean response.

Parameters
contextContext information about the conversation.
inputThe user's boolean response.
Returns
The next Prompt in the prompt graph.

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