END_OF_CONVERSATION
Constructor | Description |
---|---|
MessagePrompt() |
Modifier and Type | Method | Description |
---|---|---|
Prompt |
acceptInput(ConversationContext context,
java.lang.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, java.lang.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 © 2018. All rights reserved.