Class Visitor
- java.lang.Object
-
- org.nuxeo.ecm.platform.mail.action.Visitor
-
-
Constructor Summary
Constructors Constructor Description Visitor(MessageActionPipe pipe)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
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 Detail
-
Visitor
public Visitor(MessageActionPipe pipe)
-
-
Method Detail
-
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
-
-