net.sf.asterisk.manager.action
Class ZapDNDOffAction

java.lang.Object
  extended by net.sf.asterisk.manager.action.AbstractManagerAction
      extended by net.sf.asterisk.manager.action.ZapDNDOffAction
All Implemented Interfaces:
java.io.Serializable, ManagerAction

public class ZapDNDOffAction
extends AbstractManagerAction

The ZapDNDOnAction switches a zap channel "Do Not Disturb" status off.

Version:
$Id: ZapDNDOffAction.java,v 1.4 2005/08/07 17:10:29 srt Exp $
Author:
srt
See Also:
Serialized Form

Constructor Summary
ZapDNDOffAction()
          Creates a new empty ZapDNDOffAction.
ZapDNDOffAction(java.lang.Integer zapChannel)
          Creates a new ZapDNDOffAction that disables "Do Not Disturb" status for the given zap channel.
 
Method Summary
 java.lang.String getAction()
          Returns the name of this action, i.e.
 java.lang.Integer getZapChannel()
          Returns the number of the zap channel to switch to dnd off.
 void setZapChannel(java.lang.Integer channel)
          Sets the number of the zap channel to switch to dnd off.
This property is mandatory.
 
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

ZapDNDOffAction

public ZapDNDOffAction()
Creates a new empty ZapDNDOffAction.


ZapDNDOffAction

public ZapDNDOffAction(java.lang.Integer zapChannel)
Creates a new ZapDNDOffAction that disables "Do Not Disturb" status for the given zap channel.

Parameters:
zapChannel - the number of the zap channel
Since:
0.2
Method Detail

getAction

public java.lang.String getAction()
Returns the name of this action, i.e. "ZapDNDOff".

Specified by:
getAction in interface ManagerAction
Specified by:
getAction in class AbstractManagerAction

getZapChannel

public java.lang.Integer getZapChannel()
Returns the number of the zap channel to switch to dnd off.


setZapChannel

public void setZapChannel(java.lang.Integer channel)
Sets the number of the zap channel to switch to dnd off.
This property is mandatory.



Copyright © 2004-2005 Stefan Reuter. All Rights Reserved.