public class QueueLogAction extends AbstractManagerAction
queue_log
.
It is implemented in apps/app_queue.c
Available since Asterisk 1.6.
Constructor and Description |
---|
QueueLogAction()
Creates a new empty QueueLogAction.
|
QueueLogAction(String queue,
String event)
Creates a new QueueLogAction with the mandatory properties queue and event.
|
QueueLogAction(String queue,
String event,
String message,
String iface,
String uniqueId)
Creates a new QueueLogAction with the mandatory properties queue and event.
|
Modifier and Type | Method and Description |
---|---|
String |
getAction()
Returns the name of this action, i.e.
|
String |
getEvent()
Returns the event to log.
|
String |
getInterface()
Returns the interface of the member to log the event for.
|
String |
getMessage()
Returns the message to log.
|
String |
getQueue()
Returns the name of the queue to log the event for.
|
String |
getUniqueId()
Returns the unique id of the channel to log the event for.
|
void |
setEvent(String event)
Sets the event to log.
|
void |
setInterface(String iface)
Sets the interface of the member to log the event for.
|
void |
setMessage(String message)
Sets the message to log.
|
void |
setQueue(String queue)
Sets the name of the queue to log the event for.
|
void |
setUniqueId(String uniqueId)
Sets the unique id of the channel to log the event for.
|
getActionId, setActionId, toString
public QueueLogAction()
public QueueLogAction(String queue, String event)
queue
- the name of the queue to log the event for.event
- the event to log.public QueueLogAction(String queue, String event, String message, String iface, String uniqueId)
queue
- the name of the queue to log the event for.event
- the event to log.message
- the message to log, may be null
.iface
- the interface of the member to log the event for, may be null
.uniqueId
- the unique id of the channel to log the event for, may be null
.public String getAction()
getAction
in interface ManagerAction
getAction
in class AbstractManagerAction
public String getInterface()
public void setInterface(String iface)
iface
- the interface of the member to log the event for.public String getQueue()
public void setQueue(String queue)
This property is mandatory.
queue
- the name of the queue to log the event for.public String getUniqueId()
public void setUniqueId(String uniqueId)
uniqueId
- the unique id of the channel to log the event for.public String getEvent()
public void setEvent(String event)
This property is mandatory.
event
- the event to log.public String getMessage()
public void setMessage(String message)
message
- the message to log.Copyright © 2004–2017. All rights reserved.