Nuxeo ECM Projects 5.4.3-SNAPSHOT

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

java.lang.Object
  extended by org.nuxeo.ecm.platform.mail.listener.action.AbstractMailAction
      extended by org.nuxeo.ecm.platform.mail.listener.action.ExtractMessageInformationAction
All Implemented Interfaces:
MessageAction

public class ExtractMessageInformationAction
extends AbstractMailAction

Puts on the pipe execution context the values retrieved from the new messages found in the INBOX. These values are used later when new MailMessage documents are created based on them.

Author:
Catalin Baican

Field Summary
static String DEFAULT_BINARY_MIMETYPE
           
static String MESSAGE_RFC822_MIMETYPE
           
 
Constructor Summary
ExtractMessageInformationAction()
           
 
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
 

Field Detail

DEFAULT_BINARY_MIMETYPE

public static final String DEFAULT_BINARY_MIMETYPE
See Also:
Constant Field Values

MESSAGE_RFC822_MIMETYPE

public static final String MESSAGE_RFC822_MIMETYPE
See Also:
Constant Field Values
Constructor Detail

ExtractMessageInformationAction

public ExtractMessageInformationAction()
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.