Package tigase.push
Class PushSettings
- java.lang.Object
-
- tigase.push.PushSettings
-
- All Implemented Interfaces:
IPushSettings
public class PushSettings extends java.lang.Object implements IPushSettings
Created by andrzej on 02.01.2017.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface tigase.push.api.IPushSettings
IPushSettings.IDevice
-
-
Field Summary
Fields Modifier and Type Field Description protected java.util.List<IPushSettings.IDevice>
devices
-
Constructor Summary
Constructors Constructor Description PushSettings(int version, tigase.xmpp.jid.BareJID serviceJid, java.lang.String node, tigase.xmpp.jid.BareJID ownerJid, java.util.List<IPushSettings.IDevice> devices)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IPushSettings
addDevice(IPushSettings.IDevice device)
java.util.List<IPushSettings.IDevice>
getDevices()
java.lang.String
getNode()
tigase.xmpp.jid.BareJID
getOwnerJid()
tigase.xmpp.jid.BareJID
getServiceJid()
int
getVersion()
IPushSettings
removeDevice(IPushSettings.IDevice device)
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface tigase.push.api.IPushSettings
isOwner
-
-
-
-
Field Detail
-
devices
protected final java.util.List<IPushSettings.IDevice> devices
-
-
Constructor Detail
-
PushSettings
public PushSettings(int version, tigase.xmpp.jid.BareJID serviceJid, java.lang.String node, tigase.xmpp.jid.BareJID ownerJid, java.util.List<IPushSettings.IDevice> devices)
-
-
Method Detail
-
getVersion
public int getVersion()
- Specified by:
getVersion
in interfaceIPushSettings
-
getDevices
public java.util.List<IPushSettings.IDevice> getDevices()
- Specified by:
getDevices
in interfaceIPushSettings
-
getNode
public java.lang.String getNode()
- Specified by:
getNode
in interfaceIPushSettings
-
getOwnerJid
public tigase.xmpp.jid.BareJID getOwnerJid()
- Specified by:
getOwnerJid
in interfaceIPushSettings
-
getServiceJid
public tigase.xmpp.jid.BareJID getServiceJid()
- Specified by:
getServiceJid
in interfaceIPushSettings
-
addDevice
public IPushSettings addDevice(IPushSettings.IDevice device)
- Specified by:
addDevice
in interfaceIPushSettings
-
removeDevice
public IPushSettings removeDevice(IPushSettings.IDevice device)
- Specified by:
removeDevice
in interfaceIPushSettings
-
-