public class SmtpOutboundEndpoint extends AbstractEmailMigrator implements ExpressionMigratorAware
| Modifier and Type | Field and Description |
|---|---|
static String |
XPATH_SELECTOR |
EMAIL_NAMESPACE, EMAIL_SCHEMA_LOCnamespacesContribution| Constructor and Description |
|---|
SmtpOutboundEndpoint() |
| Modifier and Type | Method and Description |
|---|---|
protected org.jdom2.Element |
createConnection() |
void |
execute(org.jdom2.Element object,
MigrationReport report) |
protected org.jdom2.Element |
getConnection(org.jdom2.Element m4Config) |
protected org.jdom2.Element |
getConnector(String connectorName) |
protected Optional<org.jdom2.Element> |
getDefaultConnector() |
String |
getDescription() |
ExpressionMigrator |
getExpressionMigrator() |
org.jdom2.Element |
migrateSmtpConfig(org.jdom2.Element object,
MigrationReport report,
Optional<org.jdom2.Element> connector) |
void |
setExpressionMigrator(ExpressionMigrator expressionMigrator) |
static void |
smtpTransportLib(ApplicationModel appModel) |
resolveConnectorgetApplicationModel, getAppliedTo, getNamespacesContributions, setApplicationModel, setAppliedTo, setNamespacesContributionspublic static final String XPATH_SELECTOR
public String getDescription()
getDescription in interface MigrationStep<org.jdom2.Element>getDescription in class AbstractApplicationModelMigrationSteppublic void execute(org.jdom2.Element object,
MigrationReport report)
throws RuntimeException
execute in interface StepExecutable<org.jdom2.Element>RuntimeExceptionpublic org.jdom2.Element migrateSmtpConfig(org.jdom2.Element object,
MigrationReport report,
Optional<org.jdom2.Element> connector)
protected org.jdom2.Element getConnector(String connectorName)
getConnector in class AbstractEmailMigratorprotected org.jdom2.Element createConnection()
protected org.jdom2.Element getConnection(org.jdom2.Element m4Config)
protected Optional<org.jdom2.Element> getDefaultConnector()
getDefaultConnector in class AbstractEmailMigratorpublic static void smtpTransportLib(ApplicationModel appModel)
public void setExpressionMigrator(ExpressionMigrator expressionMigrator)
setExpressionMigrator in interface ExpressionMigratorAwarepublic ExpressionMigrator getExpressionMigrator()
getExpressionMigrator in interface ExpressionMigratorAwareCopyright © 2018 MuleSoft Inc. All rights reserved.