|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.confluence.plugins.emailgateway.polling.MessageSizeFilter
public class MessageSizeFilter
I filter MimeMessage
s based on their size.
Constructor Summary | |
---|---|
MessageSizeFilter(SettingsManager settingsManager)
|
Method Summary | |
---|---|
boolean |
apply(javax.mail.internet.MimeMessage mimeMessage)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.google.common.base.Predicate |
---|
equals |
Constructor Detail |
---|
public MessageSizeFilter(SettingsManager settingsManager)
Method Detail |
---|
public boolean apply(@Nullable javax.mail.internet.MimeMessage mimeMessage)
apply
in interface com.google.common.base.Predicate<javax.mail.internet.MimeMessage>
mimeMessage
- The message to be filtered
true
if the message is non-null and not larger than the size threshold, false
otherwise
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |