Class AbstractMailAction
- java.lang.Object
-
- org.nuxeo.ecm.platform.mail.listener.action.AbstractMailAction
-
- All Implemented Interfaces:
MessageAction
- Direct Known Subclasses:
CheckMailUnicity
,CreateDocumentsAction
,CreateDocumentsFromAutomationChainAction
,EndAction
,ExtractMessageInformationAction
,StartAction
public abstract class AbstractMailAction extends Object implements MessageAction
- Author:
- Catalin Baican, Laurent Doguin
-
-
Constructor Summary
Constructors Constructor Description AbstractMailAction()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
execute(ExecutionContext context)
Executes one action.protected CoreSession
getCoreSession(ExecutionContext context)
void
reset(ExecutionContext context)
-
-
-
Constructor Detail
-
AbstractMailAction
public AbstractMailAction()
-
-
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
-
getCoreSession
protected CoreSession getCoreSession(ExecutionContext context)
-
-