Class StoreMessageAction
- java.lang.Object
-
- org.nuxeo.ecm.platform.mail.action.StoreMessageAction
-
- All Implemented Interfaces:
MessageAction
public class StoreMessageAction extends Object implements MessageAction
- Author:
- Alexandre Russel
-
-
Field Summary
Fields Modifier and Type Field Description static String
MAIL_MESSAGE
protected String
parentPath
-
Constructor Summary
Constructors Constructor Description StoreMessageAction(String parentPath)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
execute(ExecutionContext context)
Executes one action.protected String
getMailDocumentType()
void
reset(ExecutionContext context)
-
-
-
Field Detail
-
MAIL_MESSAGE
public static final String MAIL_MESSAGE
- See Also:
- Constant Field Values
-
parentPath
protected final String parentPath
-
-
Constructor Detail
-
StoreMessageAction
public StoreMessageAction(String parentPath)
-
-
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
-
getMailDocumentType
protected String getMailDocumentType()
-
reset
public void reset(ExecutionContext context)
- Specified by:
reset
in interfaceMessageAction
-
-