Nuxeo Enterprise Platform 5.4

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 java.lang.String DEFAULT_BINARY_MIMETYPE
           
static java.lang.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 java.lang.String DEFAULT_BINARY_MIMETYPE
See Also:
Constant Field Values

MESSAGE_RFC822_MIMETYPE

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

ExtractMessageInformationAction

public ExtractMessageInformationAction()
Method Detail

execute

public boolean execute(ExecutionContext context)
                throws java.lang.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:
java.lang.Exception
See Also:
ExecutionContext

Nuxeo Enterprise Platform 5.4

Copyright © 2010 Nuxeo SAS. All Rights Reserved.