END_OF_CONVERSATION
构造器和说明 |
---|
MessagePrompt() |
限定符和类型 | 方法和说明 |
---|---|
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
在接口中 Prompt
context
- Context information about the conversation.public Prompt acceptInput(ConversationContext context, java.lang.String input)
acceptInput
在接口中 Prompt
context
- Context information about the conversation.input
- Ignored.protected abstract Prompt getNextPrompt(ConversationContext context)
context
- Context information about the conversation.