org.apache.jsieve.mailet
Interface MailAction

All Known Implementing Classes:
FileIntoAction, KeepAction, RedirectAction, RejectAction

public interface MailAction

Executes a Sieve action. Implementations may be accessed concurrently by multiple threads.


Method Summary
 void execute(Action action, org.apache.mailet.Mail mail, ActionContext context)
          Executes the given action.
 

Method Detail

execute

void execute(Action action,
             org.apache.mailet.Mail mail,
             ActionContext context)
             throws javax.mail.MessagingException
Executes the given action.

Parameters:
action - not null
mail - not null
context - not null
Throws:
javax.mail.MessagingException - when action cannot be executed


Copyright © 2008-2009 The Apache Software Foundation. All Rights Reserved.