END_OF_CONVERSATION
Constructor and Description |
---|
MessagePrompt() |
Modifier and Type | Method and Description |
---|---|
Prompt |
acceptInput(ConversationContext context,
String input)
Accepts and ignores any user input, returning the next prompt in the
prompt graph instead.
|
boolean |
blocksForInput(ConversationContext context)
Message prompts never wait for user input before continuing.
|
protected abstract Prompt |
getNextPrompt(ConversationContext context)
Override this method to return the next prompt in the prompt graph.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getPromptText
public boolean blocksForInput(ConversationContext context)
blocksForInput
in interface Prompt
context
- Context information about the conversation.public Prompt acceptInput(ConversationContext context, String input)
acceptInput
in interface Prompt
context
- Context information about the conversation.input
- Ignored.protected abstract Prompt getNextPrompt(ConversationContext context)
context
- Context information about the conversation.Copyright © 2021. All rights reserved.