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 java.lang.Object implements PushNotificationsFilter
-
-
Constructor Summary
Constructors Constructor Description GroupchatFilter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Element[]getDiscoFeatures()protected booleanisMentioned(Packet packet, java.lang.String nick)booleanisSendingNotificationAllowed(BareJID userJid, XMPPResourceConnection session, Element pushServiceSettings, Packet packet)voidprocessEnableElement(Element enableEl, Element settingsEl)
-
-
-
Field Detail
-
XMLNS
public static final java.lang.String XMLNS
- See Also:
- Constant Field Values
-
ID
public static final java.lang.String ID
- See Also:
- Constant Field Values
-
-
Method Detail
-
getDiscoFeatures
public Element[] getDiscoFeatures()
- Specified by:
getDiscoFeaturesin interfacePushNotificationsAware
-
processEnableElement
public void processEnableElement(Element enableEl, Element settingsEl)
- Specified by:
processEnableElementin interfacePushNotificationsAware
-
isSendingNotificationAllowed
public boolean isSendingNotificationAllowed(BareJID userJid, XMPPResourceConnection session, Element pushServiceSettings, Packet packet)
- Specified by:
isSendingNotificationAllowedin interfacePushNotificationsFilter
-
isMentioned
protected boolean isMentioned(Packet packet, java.lang.String nick)
-
-