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, toStringpublic ZapDndOnAction()
public ZapDndOnAction(Integer zapChannel)
zapChannel - the number of the zap channelpublic String getAction()
getAction in interface ManagerActiongetAction in class AbstractManagerActionpublic Integer getZapChannel()
public void setZapChannel(Integer channel)
This property is mandatory.
Copyright © 2004–2022. All rights reserved.