Nuxeo ECM Projects 5.4.3-SNAPSHOT

org.nuxeo.ecm.platform.mail.action
Class TransformMessageAction

java.lang.Object
  extended by 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

Constructor Summary
TransformMessageAction()
           
 
Method Summary
 boolean execute(ExecutionContext context)
          Executes one action.
 void reset(ExecutionContext context)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TransformMessageAction

public TransformMessageAction()
Method Detail

execute

public boolean execute(ExecutionContext context)
                throws Exception
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 interface MessageAction
Throws:
Exception
See Also:
ExecutionContext

reset

public void reset(ExecutionContext context)
           throws Exception
Specified by:
reset in interface MessageAction
Throws:
Exception

Nuxeo ECM Projects 5.4.3-SNAPSHOT

Copyright © 2011 Nuxeo SAS. All Rights Reserved.