public class PropertiesBasedServerSetupBuilder extends Object
ServerSetup.ALLServerSetup.SMTPServerSetup.SMTPSServerSetup.IMAPServerSetup.IMAPSServerSetup.POP3ServerSetup.POP3SServerSetupTest.ALLServerSetupTest.SMTPServerSetupTest.SMTPSServerSetupTest.IMAPServerSetupTest.IMAPSServerSetupTest.POP3ServerSetupTest.POP3SServerSetup.PROTOCOLS:
ServerSetup.getLocalHostAddress()| Modifier and Type | Field and Description |
|---|---|
static String |
GREENMAIL_VERBOSE
Enables verbose JavaMail debug output by setting JavaMail 'mail.debug' property.
|
| Constructor and Description |
|---|
PropertiesBasedServerSetupBuilder() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addDefaultSetups(String hostname,
Properties properties,
List<ServerSetup> serverSetups) |
protected void |
addSetup(String hostname,
String protocol,
Properties properties,
List<ServerSetup> serverSetups) |
protected void |
addTestSetups(String hostname,
Properties properties,
List<ServerSetup> serverSetups) |
ServerSetup[] |
build(Properties properties)
Creates a server setup based on provided properties.
|
public static final String GREENMAIL_VERBOSE
public ServerSetup[] build(Properties properties)
properties - the properties.protected void addSetup(String hostname, String protocol, Properties properties, List<ServerSetup> serverSetups)
protected void addTestSetups(String hostname, Properties properties, List<ServerSetup> serverSetups)
protected void addDefaultSetups(String hostname, Properties properties, List<ServerSetup> serverSetups)
Copyright © 2006–2017 Icegreen Technologies. All rights reserved.