|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.asterisk.fastagi.command.AGICommand
net.sf.asterisk.fastagi.command.SetVariableCommand
public class SetVariableCommand
Sets the given channel varible to the given value.
| Constructor Summary | |
|---|---|
SetVariableCommand(java.lang.String variable,
java.lang.String value)
Creates a new GetVariableCommand. |
|
| Method Summary | |
|---|---|
java.lang.String |
buildCommand()
Returns a string suitable to be sent to asterisk. |
java.lang.String |
getValue()
Returns the value to set. |
java.lang.String |
getVariable()
Returns the name of the variable to set. |
void |
setValue(java.lang.String value)
Sets the value to set. |
void |
setVariable(java.lang.String variable)
Sets the name of the variable to set. |
| Methods inherited from class net.sf.asterisk.fastagi.command.AGICommand |
|---|
escapeAndQuote, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public SetVariableCommand(java.lang.String variable,
java.lang.String value)
variable - the name of the variable to set.value - the value to set.| Method Detail |
|---|
public java.lang.String getVariable()
public void setVariable(java.lang.String variable)
variable - the name of the variable to set.public java.lang.String getValue()
public void setValue(java.lang.String value)
value - the value to set.public java.lang.String buildCommand()
AGICommand
buildCommand in class AGICommand
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||