com.atlassian.confluence.plugins.emailgateway.polling
Class MessageRecipientFilter

java.lang.Object
  extended by com.atlassian.confluence.plugins.emailgateway.polling.MessageRecipientFilter
All Implemented Interfaces:
com.google.common.base.Predicate<javax.mail.internet.MimeMessage>

public class MessageRecipientFilter
extends java.lang.Object
implements com.google.common.base.Predicate<javax.mail.internet.MimeMessage>

Checks that messages being processed were actually addressed to the Mail Poller address, as opposed to simply showing up in the mailbox.

Since:
5.0

Constructor Summary
MessageRecipientFilter(ConfluencePopMailServer popMailServer)
           
 
Method Summary
 boolean apply(javax.mail.internet.MimeMessage input)
           
 
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

MessageRecipientFilter

public MessageRecipientFilter(ConfluencePopMailServer popMailServer)
Method Detail

apply

public boolean apply(javax.mail.internet.MimeMessage input)
Specified by:
apply in interface com.google.common.base.Predicate<javax.mail.internet.MimeMessage>


Copyright © 2003-2014 Atlassian. All Rights Reserved.