public class StoreMessageAction extends Object implements MessageAction
Modifier and Type | Field and Description |
---|---|
static String |
MAIL_MESSAGE |
protected String |
parentPath |
Constructor and Description |
---|
StoreMessageAction(String parentPath) |
Modifier and Type | Method and Description |
---|---|
boolean |
execute(ExecutionContext context)
Executes one action.
|
protected String |
getMailDocumentType() |
void |
reset(ExecutionContext context) |
public static final String MAIL_MESSAGE
protected final String parentPath
public StoreMessageAction(String parentPath)
public boolean execute(ExecutionContext context) throws javax.mail.MessagingException
MessageAction
If it returns false, the following actions from the pipe are not executed.
execute
in interface MessageAction
javax.mail.MessagingException
ExecutionContext
protected String getMailDocumentType()
public void reset(ExecutionContext context)
reset
in interface MessageAction
Copyright © 2015 Nuxeo SA. All rights reserved.