|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.speakright.core.FlowBase
org.speakright.core.flows.QuestionFlow
org.speakright.core.tests.TestConfirmation.ConfYNFlow
public static class TestConfirmation.ConfYNFlow
| Field Summary | |
|---|---|
Model |
M
|
| Fields inherited from class org.speakright.core.flows.QuestionFlow |
|---|
m_quest |
| Constructor Summary | |
|---|---|
TestConfirmation.ConfYNFlow()
|
|
| Method Summary | |
|---|---|
IFlow |
getNext(IFlow current,
SRResults results)
The default implementation of getNext is to return null. |
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 class org.speakright.core.flows.QuestionFlow |
|---|
add, addBinding, addGrammar, addGrammar, addPrompt, createRenderer, InitPrompts |
| Methods inherited from class org.speakright.core.FlowBase |
|---|
execute, executionCount, fixupGrammar, fixupPrompt, getFirst, getSubFlowAfter, log, logError, name, onBegin, onCatch, onComplete, onDisconnect, onEnd, onNoInput, onPlatformError, onTransferFailed, onValidateFailed, promptGroup, setExecutionCount, setName, setPromptGroup, shouldExecute, validateInput |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.speakright.core.IFlow |
|---|
createRenderer, execute, executionCount, fixupGrammar, fixupPrompt, getFirst, getSubFlowAfter, name, onBegin, onCatch, onComplete, onDisconnect, onEnd, onNoInput, onPlatformError, onTransferFailed, onValidateFailed, promptGroup, setExecutionCount, setPromptGroup, shouldExecute, validateInput |
| Field Detail |
|---|
public Model M
| Constructor Detail |
|---|
public TestConfirmation.ConfYNFlow()
| Method Detail |
|---|
public void setNotifier(IConfirmationNotifier notifier)
IConfirmationFlow
setNotifier in interface IConfirmationFlownotifier - the confirmation wrapper
public boolean needToExecute(IFlow current,
SRResults results)
IConfirmationFlow
needToExecute in interface IConfirmationFlowcurrent - the current flow objectsresults - results from the question for which we may do
confirmation.
public IFlow getNext(IFlow current,
SRResults results)
FlowBase
getNext in interface IFlowgetNext in class FlowBasecurrent - the currently executing flow object. More precisely, current is the flow
object that this object most recently returned from getFirst or getNext.results - the results of current's execution by the speech platform. Results
contains user input and/or events such as disconnect or platform-error.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||