public class SetPriorityCommand extends AbstractAgiCommand
Since Asterisk 1.2 SetPriorityCommand also supports labels.
| Constructor and Description |
|---|
SetPriorityCommand(String priority)
Creates a new SetPriorityCommand.
|
| Modifier and Type | Method and Description |
|---|---|
String |
buildCommand()
Returns a string suitable to be sent to asterisk.
|
String |
getPriority()
Returns the priority or label for continuation upon exiting the application.
|
void |
setPriority(String priority)
Sets the priority or label for continuation upon exiting the application.
|
escapeAndQuote, escapeAndQuote, setAsteriskVersion, toStringpublic SetPriorityCommand(String priority)
priority - the priority or label for continuation upon exiting the
application.public String getPriority()
public void setPriority(String priority)
priority - the priority or label for continuation upon exiting the
application.public String buildCommand()
AgiCommandbuildCommand in interface AgiCommandbuildCommand in class AbstractAgiCommandCopyright © 2004–2021. All rights reserved.