Package tigase.xmpp.impl.push
Class GroupchatFilter
java.lang.Object
tigase.xmpp.impl.push.GroupchatFilter
- All Implemented Interfaces:
PushNotificationsAware
,PushNotificationsFilter
@Bean(name="groupchat-filter",
parent=PushNotifications.class,
active=true)
public class GroupchatFilter
extends Object
implements PushNotificationsFilter
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionElement[]
protected boolean
isMentioned
(Packet packet, String nick) 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
-
GroupchatFilter
public GroupchatFilter()
-
-
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
-
isMentioned
-