|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sf.asterisk.manager.action.AbstractManagerAction net.sf.asterisk.manager.action.QueuePauseAction
public class QueuePauseAction
The QueuePauseAction makes a queue member temporarily unavailabe (or
available again).
It is implemented in apps/app_queue.c
Available since Asterisk 1.2.
Constructor Summary | |
---|---|
QueuePauseAction()
Creates a new empty QueuePauseAction. |
|
QueuePauseAction(java.lang.String iface)
Creates a new QueuePauseAction that makes the member on the given interface unavailable on all queues. |
|
QueuePauseAction(java.lang.String iface,
java.lang.Boolean paused)
Creates a new QueuePauseAction that makes the member on the given interface available or unavailable on all queues. |
|
QueuePauseAction(java.lang.String iface,
java.lang.String queue)
Creates a new QueuePauseAction that makes the member on the given interface unavailable on the given queue. |
|
QueuePauseAction(java.lang.String iface,
java.lang.String queue,
java.lang.Boolean paused)
Creates a new QueuePauseAction that makes the member on the given interface unavailable on the given queue. |
Method Summary | |
---|---|
java.lang.String |
getAction()
Returns the name of this action, i.e. |
java.lang.String |
getInterface()
Returns the interface of the member to make available or unavailable. |
java.lang.Boolean |
getPaused()
Returns if the member is made available or unavailable. |
java.lang.String |
getQueue()
Returns the name of the queue the member is made available or unavailable on. |
void |
setInterface(java.lang.String iface)
Sets the interface of the member to make available or unavailable. This property is mandatory. |
void |
setPaused(java.lang.Boolean paused)
Sets if the member is made available or unavailable. This property is mandatory. |
void |
setQueue(java.lang.String queue)
Sets the name of the queue the member is made available or unavailable on. |
Methods inherited from class net.sf.asterisk.manager.action.AbstractManagerAction |
---|
getActionId, setActionId, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public QueuePauseAction()
public QueuePauseAction(java.lang.String iface)
iface
- the interface of the member to make unavailablepublic QueuePauseAction(java.lang.String iface, java.lang.String queue)
iface
- the interface of the member to make unavailablequeue
- the queue the member is made unvailable onpublic QueuePauseAction(java.lang.String iface, java.lang.Boolean paused)
iface
- the interface of the member to make unavailablepaused
- Boolean.TRUE to make the member unavailbale, Boolean.FALSE
to make the member availablepublic QueuePauseAction(java.lang.String iface, java.lang.String queue, java.lang.Boolean paused)
iface
- the interface of the member to make unavailablequeue
- the queue the member is made unvailable onpaused
- Boolean.TRUE to make the member unavailbale, Boolean.FALSE
to make the member availableMethod Detail |
---|
public java.lang.String getAction()
getAction
in interface ManagerAction
getAction
in class AbstractManagerAction
public java.lang.String getInterface()
public void setInterface(java.lang.String iface)
iface
- the interface of the member to make available or
unavailable.public java.lang.String getQueue()
null
for all queues.public void setQueue(java.lang.String queue)
queue
- the name of the queue the member is made available or
unavailable on or null
for all queues.public java.lang.Boolean getPaused()
public void setPaused(java.lang.Boolean paused)
paused
- Boolean.TRUE to make the member unavailbale, Boolean.FALSE
to make the member available
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |