org.nuxeo.ecm.platform.mail.listener.action
Class CreateDocumentsAction
java.lang.Object
org.nuxeo.ecm.platform.mail.listener.action.AbstractMailAction
org.nuxeo.ecm.platform.mail.listener.action.CreateDocumentsAction
- All Implemented Interfaces:
- MessageAction
public class CreateDocumentsAction
- extends AbstractMailAction
Creates a MailMessage document for every new email found in the INBOX. The
properties values are retrieved from the pipe execution context.
- Author:
- Catalin Baican
CreateDocumentsAction
public CreateDocumentsAction()
execute
public boolean execute(ExecutionContext context)
throws Exception
- Description copied from interface:
MessageAction
- Executes one action.
If it returns false, the following actions from the pipe are not executed.
- Specified by:
execute
in interface MessageAction
- Overrides:
execute
in class AbstractMailAction
- Throws:
Exception
- See Also:
ExecutionContext
Copyright © 2011 Nuxeo SAS. All Rights Reserved.