public class Return extends VoiceXmlLastTurn
VoiceXmlDialogue
with a return, transferring the control
back to the calling dialogue. A list of variables or an event can be
returned. Must be used it the VoiceXmlDialogue
was called using a
SubdialogueCall
.Constructor and Description |
---|
Return(String name,
String eventName,
String eventMessage) |
Return(String name,
VariableList variables) |
Modifier and Type | Method and Description |
---|---|
protected void |
addTurnProperties(javax.json.JsonObjectBuilder builder) |
boolean |
equals(Object obj) |
protected void |
fillVoiceXmlDocument(Document document,
Element formElement,
VoiceXmlDialogueContext dialogueContext) |
String |
getEventMessage() |
String |
getEventName() |
VariableList |
getVariables() |
int |
hashCode() |
createVoiceXmlDocument
addAdapter, addTopLevelProperties, asJson, getName, getVoiceXmlDocument, toString
public Return(String name, VariableList variables)
public VariableList getVariables()
public String getEventName()
public String getEventMessage()
protected void addTurnProperties(javax.json.JsonObjectBuilder builder)
addTurnProperties
in class VoiceXmlDocumentTurn
protected void fillVoiceXmlDocument(Document document, Element formElement, VoiceXmlDialogueContext dialogueContext) throws VoiceXmlDocumentRenderingException
fillVoiceXmlDocument
in class VoiceXmlLastTurn
VoiceXmlDocumentRenderingException
public int hashCode()
hashCode
in class VoiceXmlDocumentTurn
public boolean equals(Object obj)
equals
in class VoiceXmlDocumentTurn
Copyright © 2019 Nu Echo Inc..