public class TransformMessageAction extends Object implements MessageAction
Modifier and Type | Field and Description |
---|---|
protected Map<String,Object> |
dcSchema |
protected List<Map<String,Object>> |
files |
protected Map<String,Object> |
filesSchema |
protected Map<String,Object> |
mailSchema |
protected Map<String,Map<String,Object>> |
schemas |
protected StringBuilder |
text |
Constructor and Description |
---|
TransformMessageAction() |
Modifier and Type | Method and Description |
---|---|
boolean |
execute(ExecutionContext context)
Executes one action.
|
void |
reset(ExecutionContext context) |
protected final Map<String,Object> mailSchema
protected final Map<String,Object> filesSchema
protected StringBuilder text
public TransformMessageAction()
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
public void reset(ExecutionContext context)
reset
in interface MessageAction
Copyright © 2015 Nuxeo SA. All rights reserved.