Package tigase.spam.filters
Class MucMessageFilterEnsureToFullJid
- java.lang.Object
-
- tigase.spam.filters.AbstractSpamFilter
-
- tigase.spam.filters.MucMessageFilterEnsureToFullJid
-
- All Implemented Interfaces:
SpamFilter
@Bean(name="muc-message-ensure-to-full-jid", parent=SpamProcessor.class, active=false) public class MucMessageFilterEnsureToFullJid extends AbstractSpamFilter
Created by andrzej on 08.04.2017.
-
-
Field Summary
Fields Modifier and Type Field Description protected static java.lang.String
ID
-
Constructor Summary
Constructors Constructor Description MucMessageFilterEnsureToFullJid()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected boolean
filterPacket(tigase.server.Packet packet, tigase.xmpp.XMPPResourceConnection session)
java.lang.String
getId()
Method returns ID of a filter-
Methods inherited from class tigase.spam.filters.AbstractSpamFilter
filter, getStatistics, toString
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface tigase.spam.SpamFilter
getSpamProbability
-
-
-
-
Field Detail
-
ID
protected static final java.lang.String ID
- See Also:
- Constant Field Values
-
-
Method Detail
-
getId
public java.lang.String getId()
Description copied from interface:SpamFilter
Method returns ID of a filter
-
filterPacket
protected boolean filterPacket(tigase.server.Packet packet, tigase.xmpp.XMPPResourceConnection session)
- Specified by:
filterPacket
in classAbstractSpamFilter
-
-