org.nuxeo.ecm.platform.mail.action
Class CheckSenderAction
java.lang.Object
org.nuxeo.ecm.platform.mail.action.CheckSenderAction
- All Implemented Interfaces:
- MessageAction
public class CheckSenderAction
- extends java.lang.Object
- implements MessageAction
Action that check the mail address against the user directory.
If the address of the sender is not in the user directory, the
mail is not processed further.
If the sender is in the user directory, it put the principal as a
string in the context under the "sender" key.
- Author:
- Alexandre Russel
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CheckSenderAction
public CheckSenderAction()
execute
public boolean execute(ExecutionContext context)
throws java.lang.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:
java.lang.Exception
- See Also:
ExecutionContext
reset
public void reset(ExecutionContext context)
throws java.lang.Exception
- Specified by:
reset
in interface MessageAction
- Throws:
java.lang.Exception
Copyright © 2010 Nuxeo SAS. All Rights Reserved.