Class TransformMessageAction
- java.lang.Object
-
- org.nuxeo.ecm.platform.mail.action.TransformMessageAction
-
- All Implemented Interfaces:
MessageAction
public class TransformMessageAction extends Object implements MessageAction
Transforms the message using the transformer and puts it in the context under transformed.- Author:
- Alexandre Russel
-
-
Field Summary
Fields Modifier and Type Field 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 Summary
Constructors Constructor Description TransformMessageAction()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
execute(ExecutionContext context)
Executes one action.void
reset(ExecutionContext context)
-
-
-
Field Detail
-
text
protected StringBuilder text
-
-
Method Detail
-
execute
public boolean execute(ExecutionContext context) throws javax.mail.MessagingException
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 interfaceMessageAction
- Throws:
javax.mail.MessagingException
- See Also:
ExecutionContext
-
reset
public void reset(ExecutionContext context)
- Specified by:
reset
in interfaceMessageAction
-
-