org.jbpm.mail
Class Mail
java.lang.Object
org.jbpm.mail.Mail
- All Implemented Interfaces:
- Serializable, ActionHandler
public class Mail
- extends Object
- implements ActionHandler
- See Also:
- Serialized Form
|
Constructor Summary |
Mail()
|
Mail(String template,
String actors,
String to,
String subject,
String text)
|
Mail(String template,
String actors,
String to,
String bccActors,
String bcc,
String subject,
String text)
|
|
Method Summary |
void |
execute(ExecutionContext executionContext)
|
List |
getBccRecipients()
|
List |
getCcRecipients()
|
String |
getFromAddress()
|
List |
getRecipients()
|
String |
getSubject()
|
String |
getText()
|
protected Collection |
resolveAddresses(Collection actorIds)
|
void |
send()
|
static void |
send(Properties serverProperties,
String sender,
Collection recipients,
Collection bccRecipients,
String subject,
String text)
|
static void |
send(Properties serverProperties,
String sender,
Collection recipients,
String subject,
String text)
|
static void |
send(Properties serverProperties,
String sender,
List recipients,
List bccRecipients,
String subject,
String text)
Deprecated. |
static void |
send(Properties serverProperties,
String sender,
List recipients,
String subject,
String text)
Deprecated. |
protected List |
tokenize(String text)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Mail
public Mail()
Mail
public Mail(String template,
String actors,
String to,
String subject,
String text)
Mail
public Mail(String template,
String actors,
String to,
String bccActors,
String bcc,
String subject,
String text)
execute
public void execute(ExecutionContext executionContext)
- Specified by:
execute in interface ActionHandler
getRecipients
public List getRecipients()
getCcRecipients
public List getCcRecipients()
getBccRecipients
public List getBccRecipients()
resolveAddresses
protected Collection resolveAddresses(Collection actorIds)
tokenize
protected List tokenize(String text)
getSubject
public String getSubject()
getText
public String getText()
getFromAddress
public String getFromAddress()
send
public void send()
send
public static void send(Properties serverProperties,
String sender,
List recipients,
String subject,
String text)
- Deprecated.
- Kept for backwards compatibility
send
public static void send(Properties serverProperties,
String sender,
Collection recipients,
String subject,
String text)
send
public static void send(Properties serverProperties,
String sender,
List recipients,
List bccRecipients,
String subject,
String text)
- Deprecated.
- Kept for backwards compatibility
send
public static void send(Properties serverProperties,
String sender,
Collection recipients,
Collection bccRecipients,
String subject,
String text)
Copyright © 2012 JBoss, a division of Red Hat, Inc.. All Rights Reserved.