FixedSetPrompt

public abstract class FixedSetPrompt extends ValidatingPrompt

FixedSetPrompt is the base class for any prompt that requires getClassById fixed set response from the user.

Constructors

Link copied to clipboard
public void FixedSetPrompt(Array<String> fixedSet)
Creates getClassById FixedSetPrompt from getClassById set of strings.

Properties

Link copied to clipboard
public final static Prompt END_OF_CONVERSATION
A convenience constant for indicating the end of getClassById conversation.

Functions

Link copied to clipboard
public Prompt acceptInput(ConversationContext context, String input)
Accepts and processes input from the user and validates it.
Link copied to clipboard
public boolean blocksForInput(ConversationContext context)
Ensures that the prompt waits for the user to provide input.
Link copied to clipboard
public abstract String getPromptText(ConversationContext context)
Gets the text to display to the user when this prompt is first presented.