public class ZapDndOnAction extends AbstractManagerAction
Constructor and Description |
---|
ZapDndOnAction()
Creates a new empty ZapDndOnAction.
|
ZapDndOnAction(Integer zapChannel)
Creates a new ZapDndOnAction that enables "Do Not Disturb" status for
the given zap channel.
|
Modifier and Type | Method and Description |
---|---|
String |
getAction()
Returns the name of this action, i.e.
|
Integer |
getZapChannel()
Returns the number of the zap channel to switch to dnd on.
|
void |
setZapChannel(Integer channel)
Sets the number of the zap channel to switch to dnd on.
|
getActionId, setActionId, toString
public ZapDndOnAction()
public ZapDndOnAction(Integer zapChannel)
zapChannel
- the number of the zap channelpublic String getAction()
getAction
in interface ManagerAction
getAction
in class AbstractManagerAction
public Integer getZapChannel()
public void setZapChannel(Integer channel)
This property is mandatory.
Copyright © 2004–2016. All rights reserved.