public class ExtractMessageInformationAction extends AbstractMailAction
Modifier and Type | Field and Description |
---|---|
static String |
COPY_MESSAGE |
static String |
DEFAULT_BINARY_MIMETYPE |
static String |
MESSAGE_RFC822_MIMETYPE |
Constructor and Description |
---|
ExtractMessageInformationAction() |
Modifier and Type | Method and Description |
---|---|
boolean |
execute(ExecutionContext context)
Executes one action.
|
Collection<String> |
getHeaderValues(javax.mail.Message message,
String headerName) |
reset
public static final String DEFAULT_BINARY_MIMETYPE
public static final String MESSAGE_RFC822_MIMETYPE
public static final String COPY_MESSAGE
public boolean execute(ExecutionContext context)
MessageAction
If it returns false, the following actions from the pipe are not executed.
execute
in interface MessageAction
execute
in class AbstractMailAction
ExecutionContext
public Collection<String> getHeaderValues(javax.mail.Message message, String headerName) throws javax.mail.MessagingException
javax.mail.MessagingException
Copyright © 2015 Nuxeo SA. All rights reserved.