public class SpeechUnloadGrammarCommand extends AbstractAgiCommand
Unloads a grammar.
SpeechLoadGrammarCommand,
Serialized Form| Constructor and Description |
|---|
SpeechUnloadGrammarCommand(String name)
Creates a new SpeechUnloadGrammarCommand that unloads the given grammar.
|
| Modifier and Type | Method and Description |
|---|---|
String |
buildCommand()
Returns a string suitable to be sent to asterisk.
|
String |
getName()
Returns the name of the grammar.
|
void |
setName(String name)
Sets the name of the grammar.
|
escapeAndQuote, escapeAndQuote, setAsteriskVersion, toStringpublic SpeechUnloadGrammarCommand(String name)
name - the name of the grammar.public String getName()
public void setName(String name)
name - the name of the grammar.public String buildCommand()
AgiCommandbuildCommand in interface AgiCommandbuildCommand in class AbstractAgiCommandCopyright © 2004–2022. All rights reserved.