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, waitgetPromptTextpublic boolean blocksForInput(@NotNull
                              ConversationContext context)
blocksForInput in interface Promptcontext - Context information about the conversation.@Nullable public Prompt acceptInput(@NotNull ConversationContext context, @Nullable String input)
acceptInput in interface Promptcontext - Context information about the conversation.input - Ignored.@Nullable protected abstract Prompt getNextPrompt(@NotNull ConversationContext context)
context - Context information about the conversation.Copyright © 2022. All rights reserved.