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 boolean
isMentioned(Packet packet, java.lang.String nick)
boolean
isSendingNotificationAllowed(BareJID userJid, XMPPResourceConnection session, Element pushServiceSettings, Packet packet)
void
processEnableElement(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:
getDiscoFeatures
in interfacePushNotificationsAware
-
processEnableElement
public void processEnableElement(Element enableEl, Element settingsEl)
- Specified by:
processEnableElement
in interfacePushNotificationsAware
-
isSendingNotificationAllowed
public boolean isSendingNotificationAllowed(BareJID userJid, XMPPResourceConnection session, Element pushServiceSettings, Packet packet)
- Specified by:
isSendingNotificationAllowed
in interfacePushNotificationsFilter
-
isMentioned
protected boolean isMentioned(Packet packet, java.lang.String nick)
-
-