|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.crsh.plugin.CRaSHPlugin<MailPlugin>
org.crsh.mail.MailPlugin
public class MailPlugin
The mail plugin integrates JavaMail for sending commands.
| Field Summary | |
|---|---|
static PropertyDescriptor<Boolean> |
DEBUG
. |
static PropertyDescriptor<String> |
SMTP_FROM
. |
static PropertyDescriptor<String> |
SMTP_HOST
. |
static PropertyDescriptor<String> |
SMTP_PASSWORD
. |
static PropertyDescriptor<Integer> |
SMTP_PORT
. |
static PropertyDescriptor<SmtpSecure> |
SMTP_SECURE
. |
static PropertyDescriptor<String> |
SMTP_USERNAME
. |
| Fields inherited from class org.crsh.plugin.CRaSHPlugin |
|---|
CONSTRUCTED, FAILED, INITIALIZED, INITIALIZING, log |
| Constructor Summary | |
|---|---|
MailPlugin()
|
|
| Method Summary | |
|---|---|
protected Iterable<PropertyDescriptor<?>> |
createConfigurationCapabilities()
|
MailPlugin |
getImplementation()
|
void |
init()
|
Future<Boolean> |
send(Iterable<String> recipients,
String subject,
Object body,
String type,
DataSource... attachments)
|
Future<Boolean> |
send(Iterable<String> recipients,
String subject,
String body,
DataSource... attachments)
|
| Methods inherited from class org.crsh.plugin.CRaSHPlugin |
|---|
destroy, getConfigurationCapabilities, getContext, getStatus, getType, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static PropertyDescriptor<String> SMTP_HOST
public static PropertyDescriptor<Integer> SMTP_PORT
public static PropertyDescriptor<SmtpSecure> SMTP_SECURE
public static PropertyDescriptor<String> SMTP_USERNAME
public static PropertyDescriptor<String> SMTP_PASSWORD
public static PropertyDescriptor<String> SMTP_FROM
public static PropertyDescriptor<Boolean> DEBUG
| Constructor Detail |
|---|
public MailPlugin()
| Method Detail |
|---|
protected Iterable<PropertyDescriptor<?>> createConfigurationCapabilities()
createConfigurationCapabilities in class CRaSHPlugin<MailPlugin>public MailPlugin getImplementation()
getImplementation in class CRaSHPlugin<MailPlugin>public void init()
init in class CRaSHPlugin<MailPlugin>
public Future<Boolean> send(Iterable<String> recipients,
String subject,
String body,
DataSource... attachments)
throws javax.mail.MessagingException
javax.mail.MessagingException
public Future<Boolean> send(Iterable<String> recipients,
String subject,
Object body,
String type,
DataSource... attachments)
throws javax.mail.MessagingException
javax.mail.MessagingException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||