Nuxeo ECM Projects 5.4.3-SNAPSHOT

org.nuxeo.ecm.platform.mail.listener.action
Class CreateDocumentsAction

java.lang.Object
  extended by org.nuxeo.ecm.platform.mail.listener.action.AbstractMailAction
      extended by 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

Constructor Summary
CreateDocumentsAction()
           
 
Method Summary
 boolean execute(ExecutionContext context)
          Executes one action.
 
Methods inherited from class org.nuxeo.ecm.platform.mail.listener.action.AbstractMailAction
reset
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CreateDocumentsAction

public CreateDocumentsAction()
Method Detail

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

Nuxeo ECM Projects 5.4.3-SNAPSHOT

Copyright © 2011 Nuxeo SAS. All Rights Reserved.