public class PropertiesBasedServerSetupBuilder extends Object
ServerSetup.ALL
ServerSetup.SMTP
ServerSetup.SMTPS
ServerSetup.IMAP
ServerSetup.IMAPS
ServerSetup.POP3
ServerSetup.POP3S
ServerSetupTest.ALL
ServerSetupTest.SMTP
ServerSetupTest.SMTPS
ServerSetupTest.IMAP
ServerSetupTest.IMAPS
ServerSetupTest.POP3
ServerSetupTest.POP3S
ServerSetup.getLocalHostAddress()
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 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–2016 Icegreen Technologies. All rights reserved.