|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IExecutionContext
A context object passed to the execute method of a flow
object. It contains various things that a flow object might want
to do inside execute.
| Method Summary | |
|---|---|
boolean |
ConfirmationWasRejected()
Return true if a confirmation was rejected by the user (by saying 'no' or whatever rejection phrase was in the confirmation grammar). |
SRResults |
getResults()
Get the results of the previous turn. |
void |
registerPromptFile(java.lang.String path)
Register (temporarily) a prompt XML file. |
void |
render(IFlow flow)
Render the given flow object into a voicexml page. |
void |
throwEvent(ThrowEvent event)
Throw a custom event. |
boolean |
ValidateFailed()
Return true if the call to ValidateInput for this flow returned false. |
| Methods inherited from interface org.speakright.core.IFlowContext |
|---|
getLocations |
| Method Detail |
|---|
void throwEvent(ThrowEvent event)
event - void render(IFlow flow)
flow - a flow objectvoid registerPromptFile(java.lang.String path)
path - full file path to the prompts XML file.SRResults getResults()
boolean ValidateFailed()
boolean ConfirmationWasRejected()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||