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
MessageActionIf it returns false, the following actions from the pipe are not executed.
execute in interface MessageActionjavax.mail.MessagingExceptionExecutionContextprotected String getMailDocumentType()
public void reset(ExecutionContext context)
reset in interface MessageActionCopyright © 2019 Nuxeo. All rights reserved.