|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.jsieve.mailet.FileIntoAction org.apache.jsieve.mailet.KeepAction
public class KeepAction
Constructor Summary | |
---|---|
KeepAction()
|
Method Summary | |
---|---|
void |
execute(ActionKeep anAction,
org.apache.mailet.Mail aMail,
ActionContext context)
Executes the passed ActionKeep. |
void |
execute(Action action,
org.apache.mailet.Mail mail,
ActionContext context)
Executes the given action. |
Methods inherited from class org.apache.jsieve.mailet.FileIntoAction |
---|
execute |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public KeepAction()
Method Detail |
---|
public void execute(Action action, org.apache.mailet.Mail mail, ActionContext context) throws javax.mail.MessagingException
MailAction
execute
in interface MailAction
execute
in class FileIntoAction
action
- not nullmail
- not nullcontext
- not null
javax.mail.MessagingException
- when action cannot be executedpublic void execute(ActionKeep anAction, org.apache.mailet.Mail aMail, ActionContext context) throws javax.mail.MessagingException
Executes the passed ActionKeep.
In this implementation, "keep" is equivalent to "fileinto" with a destination of "INBOX".
anAction
- not nullaMail
- not nullcontext
- not null
javax.mail.MessagingException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |