org.bukkit.conversations
Class StringPrompt

java.lang.Object
  extended by org.bukkit.conversations.StringPrompt
All Implemented Interfaces:
Cloneable, Prompt

public abstract class StringPrompt
extends Object
implements Prompt

StringPrompt is the base class for any prompt that accepts an arbitrary string from the user.


Field Summary
 
Fields inherited from interface org.bukkit.conversations.Prompt
END_OF_CONVERSATION
 
Constructor Summary
StringPrompt()
           
 
Method Summary
 boolean blocksForInput(ConversationContext context)
          Ensures that the prompt waits for the user to provide input.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.bukkit.conversations.Prompt
acceptInput, getPromptText
 

Constructor Detail

StringPrompt

public StringPrompt()
Method Detail

blocksForInput

public boolean blocksForInput(ConversationContext context)
Ensures that the prompt waits for the user to provide input.

Specified by:
blocksForInput in interface Prompt
Parameters:
context - Context information about the conversation.
Returns:
True.


Copyright © 2013. All Rights Reserved.