Package tigase.xmpp.impl.push
Class MutedFilter
java.lang.Object
tigase.xmpp.impl.push.MutedFilter
- All Implemented Interfaces:
PushNotificationsAware
,PushNotificationsFilter
@Bean(name="muted-filter",
parent=PushNotifications.class,
active=true)
public class MutedFilter
extends Object
implements PushNotificationsFilter
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiontigase.xml.Element[]
boolean
isSendingNotificationAllowed
(tigase.xmpp.jid.BareJID userJid, XMPPResourceConnection session, tigase.xml.Element pushServiceSettings, Packet packet) void
processEnableElement
(tigase.xml.Element enableEl, tigase.xml.Element settingsEl)
-
Field Details
-
XMLNS
- See Also:
-
ID
- See Also:
-
-
Constructor Details
-
MutedFilter
public MutedFilter()
-
-
Method Details
-
getDiscoFeatures
public tigase.xml.Element[] getDiscoFeatures()- Specified by:
getDiscoFeatures
in interfacePushNotificationsAware
-
processEnableElement
public void processEnableElement(tigase.xml.Element enableEl, tigase.xml.Element settingsEl) - Specified by:
processEnableElement
in interfacePushNotificationsAware
-
isSendingNotificationAllowed
public boolean isSendingNotificationAllowed(tigase.xmpp.jid.BareJID userJid, XMPPResourceConnection session, tigase.xml.Element pushServiceSettings, Packet packet) - Specified by:
isSendingNotificationAllowed
in interfacePushNotificationsFilter
-