public class CheckSenderAction extends Object implements MessageAction
If the sender is in the user directory, it put the principal as a string in the context under the "sender" key.
Constructor and Description |
---|
CheckSenderAction() |
Modifier and Type | Method and Description |
---|---|
boolean |
execute(ExecutionContext context)
Executes one action.
|
void |
reset(ExecutionContext context) |
public CheckSenderAction()
public boolean execute(ExecutionContext context) throws javax.mail.MessagingException
MessageAction
If it returns false, the following actions from the pipe are not executed.
execute
in interface MessageAction
javax.mail.MessagingException
ExecutionContext
public void reset(ExecutionContext context)
reset
in interface MessageAction
Copyright © 2015 Nuxeo SA. All rights reserved.