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 TypeMethodDescriptiontigase.xml.Element[]
protected boolean
isMentioned
(Packet packet, String nick) 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
-
GroupchatFilter
public GroupchatFilter()
-
-
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
-
isMentioned
-