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
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionElement[]
boolean
isSendingNotificationAllowed
(BareJID userJid, XMPPResourceConnection session, Element pushServiceSettings, Packet packet) void
processEnableElement
(Element enableEl, Element settingsEl)
-
Field Details
-
XMLNS
- See Also:
-
ID
- See Also:
-
-
Constructor Details
-
MutedFilter
public MutedFilter()
-
-
Method Details
-
getDiscoFeatures
- Specified by:
getDiscoFeatures
in interfacePushNotificationsAware
-
processEnableElement
- Specified by:
processEnableElement
in interfacePushNotificationsAware
-
isSendingNotificationAllowed
public boolean isSendingNotificationAllowed(BareJID userJid, XMPPResourceConnection session, Element pushServiceSettings, Packet packet) - Specified by:
isSendingNotificationAllowed
in interfacePushNotificationsFilter
-