public class SendMailAction extends Object implements MessageAction
Constructor and Description |
---|
SendMailAction(javax.mail.Session session,
String textMessage) |
Modifier and Type | Method and Description |
---|---|
boolean |
execute(ExecutionContext context)
Executes one action.
|
void |
reset(ExecutionContext context) |
public SendMailAction(javax.mail.Session session, String textMessage)
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.