public interface MailOperations
extends org.springframework.roo.project.Feature
| Modifier and Type | Field and Description |
|---|---|
static String |
FEATURE_NAME |
| Modifier and Type | Method and Description |
|---|---|
List<String> |
getAllServiceImpl(String currentService)
Get all the services implementations of the current project
|
void |
installReceiveEmailSupport(String host,
String port,
String protocol,
String username,
String password,
Boolean starttls,
String jndiName,
String profile,
org.springframework.roo.project.maven.Pom module,
org.springframework.roo.model.JavaType service,
boolean force)
Add support to obtain emails received into the configured account
|
void |
installSendEmailSupport(String host,
String port,
String protocol,
String username,
String password,
Boolean starttls,
String jndiName,
String profile,
org.springframework.roo.project.maven.Pom module,
org.springframework.roo.model.JavaType service,
boolean force)
Add support to send emails from the configured account
|
boolean |
isEmailInstallationPossible()
Indicates whether the command for adding mail support to the
user's project is available.
|
static final String FEATURE_NAME
void installSendEmailSupport(String host, String port, String protocol, String username, String password, Boolean starttls, String jndiName, String profile, org.springframework.roo.project.maven.Pom module, org.springframework.roo.model.JavaType service, boolean force)
host - Server hostport - Server portprotocol - Protocol used to send emailsusername - Account usernamepassword - Account passwordstarttls - Enable or disable the use of the STARTTLS commandjndiName - Enable and set JNDI to send emailsprofile - Indicate the profile where the properties will be setmodule - Indicate the module where the properties will be setservice - Service implementantion where create an instance of JavaMailSenderforce - Indicate if the properties will be overwrittenvoid installReceiveEmailSupport(String host, String port, String protocol, String username, String password, Boolean starttls, String jndiName, String profile, org.springframework.roo.project.maven.Pom module, org.springframework.roo.model.JavaType service, boolean force)
host - Server hostport - Server portprotocol - Protocol used to receive emailsusername - Account usernamepassword - Account passwordstarttls - Enable or disable the use of the STARTTLS commandjndiName - Enable and set JNDI to receive emailsprofile - Indicate the profile where the properties will be setmodule - Indicate the module where the properties will be setservice - Service implementantion where create an instance of MailReceiverServiceforce - Indicate if the properties will be overwrittenboolean isEmailInstallationPossible()
Copyright © 2009–2018 Pivotal Software, Inc.. All rights reserved.