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
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionElement[]protected booleanisMentioned(Packet packet, String nick) booleanisSendingNotificationAllowed(BareJID userJid, XMPPResourceConnection session, Element pushServiceSettings, Packet packet) voidprocessEnableElement(Element enableEl, Element settingsEl)
-
Field Details
-
XMLNS
- See Also:
-
ID
- See Also:
-
-
Constructor Details
-
GroupchatFilter
public GroupchatFilter()
-
-
Method Details
-
getDiscoFeatures
- Specified by:
getDiscoFeaturesin interfacePushNotificationsAware
-
processEnableElement
- Specified by:
processEnableElementin interfacePushNotificationsAware
-
isSendingNotificationAllowed
public boolean isSendingNotificationAllowed(BareJID userJid, XMPPResourceConnection session, Element pushServiceSettings, Packet packet) - Specified by:
isSendingNotificationAllowedin interfacePushNotificationsFilter
-
isMentioned
-