|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IConfirmationFlow
A flow that does confirmation (of a previous question). Used by ConfirmationWrapper. IConfirmationFlow is an extension point; you can create your own type of confirmation objects to implement various forms of confirmation such as explicit, implicit, confirm-and-correct, etc.
| Method Summary | |
|---|---|
boolean |
needToExecute(IFlow current,
SRResults results)
Inspect the results to see if confirmation is needed. |
void |
setNotifier(IConfirmationNotifier notifier)
Set the notifier, which MUST be called from within the confirmation flow's getNext. |
| Methods inherited from interface org.speakright.core.IFlow |
|---|
createRenderer, execute, executionCount, fixupGrammar, fixupPrompt, getFirst, getNext, getSubFlowAfter, name, onBegin, onCatch, onComplete, onDisconnect, onEnd, onNoInput, onPlatformError, onTransferFailed, onValidateFailed, promptGroup, setExecutionCount, setPromptGroup, shouldExecute, validateInput |
| Method Detail |
|---|
boolean needToExecute(IFlow current,
SRResults results)
current - the current flow objectsresults - results from the question for which we may do
confirmation.
void setNotifier(IConfirmationNotifier notifier)
notifier - the confirmation wrapper
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||