public interface WaypointTriggerPrompt extends Prompt
RETURN_PROMPT_KEY
key in the
ConversationContext
and to set the specified trigger under CREATED_TRIGGER_KEY
prior to returning.
If the returned trigger is null
then the prompt is assumed to have failed and an error message will be
displayed.Modifier and Type | Field and Description |
---|---|
static String |
CREATED_TRIGGER_KEY |
static String |
RETURN_PROMPT_KEY |
END_OF_CONVERSATION
Modifier and Type | Method and Description |
---|---|
WaypointTrigger |
createFromShortInput(ConversationContext context,
String input) |
acceptInput, blocksForInput, getPromptText
static final String CREATED_TRIGGER_KEY
static final String RETURN_PROMPT_KEY
WaypointTrigger createFromShortInput(ConversationContext context, String input)
Copyright © 2019. All rights reserved.