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>dcSchemaprotected List<Map<String,Object>>filesprotected Map<String,Object>filesSchemaprotected Map<String,Object>mailSchemaprotected Map<String,Map<String,Object>>schemasprotected StringBuildertext
-
Constructor Summary
Constructors Constructor Description TransformMessageAction()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanexecute(ExecutionContext context)Executes one action.voidreset(ExecutionContext context)
-
-
-
Field Detail
-
text
protected StringBuilder text
-
-
Method Detail
-
execute
public boolean execute(ExecutionContext context) throws javax.mail.MessagingException
Description copied from interface:MessageActionExecutes one action.If it returns false, the following actions from the pipe are not executed.
- Specified by:
executein interfaceMessageAction- Throws:
javax.mail.MessagingException- See Also:
ExecutionContext
-
reset
public void reset(ExecutionContext context)
- Specified by:
resetin interfaceMessageAction
-
-