org.speakright.sro
Class SROCancelCommand

java.lang.Object
  extended by org.speakright.core.FlowBase
      extended by org.speakright.sro.SROCancelCommand
All Implemented Interfaces:
java.io.Serializable, IFlow

public class SROCancelCommand
extends FlowBase

This class is used to signify a cancel command. SROs have an addCommand method which adds a sub-flow that will be executed when the given command is spoken. The 'cancel' command need to terminate the SRO (i.e. have it's getNext return null). Passing an SROCancelCommand to the addCommand method is a special signal to the SRO that will cause it to terminate when the given cancel command word is spoken.

Author:
IanRaeLaptop
See Also:
Serialized Form

Constructor Summary
SROCancelCommand()
           
 
Method Summary
 
Methods inherited from class org.speakright.core.FlowBase
createRenderer, execute, executionCount, fixupGrammar, fixupPrompt, getFirst, getNext, 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

SROCancelCommand

public SROCancelCommand()