jaugment2.mail
Class MailFilterParser.FilterRule

java.lang.Object
  |
  +--jaugment2.mail.MailFilterParser.FilterRule
Enclosing class:
MailFilterParser

private class MailFilterParser.FilterRule
extends java.lang.Object


Field Summary
private  MailFilterParser.FilterAction[] action
           
private  MailFilterParser.FilterSelector select
           
 
Constructor Summary
MailFilterParser.FilterRule(MailFilterParser.FilterSelector select, MailFilterParser.FilterAction[] action)
           
 
Method Summary
 boolean execute(javax.mail.Message msg, MailSender.MessageHandle hmsg)
          pass a message through the actions and return true if the message is still in that folder and false if it is deleted/ moved.
 boolean matches(javax.mail.Message msg, MailSender.MessageHandle hmsg)
          returns true if the selector matches on that message
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Field Detail

select

private MailFilterParser.FilterSelector select

action

private MailFilterParser.FilterAction[] action
Constructor Detail

MailFilterParser.FilterRule

public MailFilterParser.FilterRule(MailFilterParser.FilterSelector select,
                                   MailFilterParser.FilterAction[] action)
Method Detail

matches

public boolean matches(javax.mail.Message msg,
                       MailSender.MessageHandle hmsg)
returns true if the selector matches on that message

execute

public boolean execute(javax.mail.Message msg,
                       MailSender.MessageHandle hmsg)
pass a message through the actions and return true if the message is still in that folder and false if it is deleted/ moved.