org.speakright.core.tests
Class TestRender.PlayOnceFlow

java.lang.Object
  extended by org.speakright.core.FlowBase
      extended by org.speakright.core.flows.PromptFlow
          extended by org.speakright.core.tests.TestRender.PlayOnceFlow
All Implemented Interfaces:
java.io.Serializable, IFlow
Enclosing class:
TestRender

public class TestRender.PlayOnceFlow
extends PromptFlow

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.speakright.core.flows.PromptFlow
m_promptL
 
Constructor Summary
TestRender.PlayOnceFlow(java.lang.String text, boolean onceEver)
           
 
Method Summary
 IFlow getNext(IFlow current, SRResults results)
          The default implementation of getNext is to return null.
 
Methods inherited from class org.speakright.core.flows.PromptFlow
addPrompt, bargeIn, createRenderer, firstPrompt, setBargeIn
 
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
 

Constructor Detail

TestRender.PlayOnceFlow

public TestRender.PlayOnceFlow(java.lang.String text,
                               boolean onceEver)
Method Detail

getNext

public IFlow getNext(IFlow current,
                     SRResults results)
Description copied from class: FlowBase
The default implementation of getNext is to return null.

Specified by:
getNext in interface IFlow
Overrides:
getNext in class FlowBase
Parameters:
current - 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.
Returns:
the next flow to run, or null which means this flow object is finished.