Package tigase.spam.filters
Class MessageErrorFilterEnsureErrorChild
- java.lang.Object
-
- tigase.spam.filters.AbstractSpamFilter
-
- tigase.spam.filters.MessageErrorFilterEnsureErrorChild
-
- All Implemented Interfaces:
SpamFilter
@Bean(name="message-error-ensure-error-child", parent=SpamProcessor.class, active=true) public class MessageErrorFilterEnsureErrorChild extends AbstractSpamFilter
Created by andrzej on 13.04.2017.
-
-
Field Summary
Fields Modifier and Type Field Description protected static java.lang.String
ID
-
Constructor Summary
Constructors Constructor Description MessageErrorFilterEnsureErrorChild()
-
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
-
-