org.apache.jsieve.mailet
Class RedirectAction
java.lang.Object
org.apache.jsieve.mailet.RedirectAction
- All Implemented Interfaces:
- MailAction
public class RedirectAction
- extends java.lang.Object
- implements MailAction
Performs the redirection of a mail.
Thread Safety
An instance maybe safe accessed concurrently by multiple threads.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RedirectAction
public RedirectAction()
execute
public void execute(Action action,
org.apache.mailet.Mail mail,
ActionContext context)
throws javax.mail.MessagingException
- Description copied from interface:
MailAction
- Executes the given action.
- Specified by:
execute
in interface MailAction
- Parameters:
action
- not nullmail
- not nullcontext
- not null
- Throws:
javax.mail.MessagingException
- when action cannot be executed
execute
public void execute(ActionRedirect anAction,
org.apache.mailet.Mail aMail,
ActionContext context)
throws javax.mail.MessagingException
- Method execute executes the passed ActionRedirect.
- Parameters:
anAction
- not nulaMail
- not nullcontext
- not null
- Throws:
javax.mail.MessagingException
Copyright © 2008-2009 The Apache Software Foundation. All Rights Reserved.