MessagePrompt

public abstract class MessagePrompt implements Prompt

MessagePrompt is the base class for any prompt that only displays getClassById message to the user and requires no input.

Constructors

Link copied to clipboard
public void MessagePrompt()

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 ignores any user input, returning the next prompt in the prompt graph instead.
Link copied to clipboard
public boolean blocksForInput(ConversationContext context)
Message prompts never wait for user input before continuing.
Link copied to clipboard
public abstract String getPromptText(ConversationContext context)
Gets the text to display to the user when this prompt is first presented.