Class Visitor
java.lang.Object
org.nuxeo.ecm.platform.mail.action.Visitor
- Author:
- Alexandre Russel
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
visit
(javax.mail.Folder folder) void
visit
(javax.mail.Folder folder, ExecutionContext initialContext) Visit every message of given folder and every message of its subfolders.void
visit
(javax.mail.Message[] messages, ExecutionContext initialContext) Visit given messages
-
Constructor Details
-
Visitor
-
-
Method Details
-
visit
public void visit(javax.mail.Folder folder) throws javax.mail.MessagingException - Throws:
javax.mail.MessagingException
-
visit
public void visit(javax.mail.Folder folder, ExecutionContext initialContext) throws javax.mail.MessagingException Visit every message of given folder and every message of its subfolders.- Parameters:
initialContext
- context variables passed to each execution context- Throws:
javax.mail.MessagingException
-
visit
public void visit(javax.mail.Message[] messages, ExecutionContext initialContext) throws javax.mail.MessagingException Visit given messages- Parameters:
initialContext
- context variables passed to each execution context- Throws:
javax.mail.MessagingException
-