@ThreadSafe public static class SMTPTransportX.ConstructionContext extends Object
Constructor and Description |
---|
SMTPTransportX.ConstructionContext(File startupConfigurationFile)
Constructs a ConstructionContext.
|
Modifier and Type | Method and Description |
---|---|
SMTPTransportX.SimpleAuthentication |
getAuthenticationMethod()
Returns the authentication method for access to the server;
or null, if no authentication is required.
|
String |
getEncryptionMethod()
Returns the encryption method for communication with the server ("ssl");
or null, if no encryption is used.
|
String |
getServerName()
Returns the name of the transfer server.
|
int |
getServerPort()
Returns the communication port of the transfer server.
|
void |
setAuthenticationMethodSimple(String name,
String password)
Sets the authentication method to simple name/password (not yet tested).
|
void |
setEncryptionMethodSSL()
Sets the encryption method to Secure Sockets Layer (not yet tested).
|
void |
setServerName(String serverName)
Sets the name of the transfer server.
|
void |
setServerPort(int serverPort)
Sets the port of the PostgreSQL transfer server.
|
File |
startupConfigurationFile()
The file from which this construction context was generated.
|
public SMTPTransportX.ConstructionContext(File startupConfigurationFile)
startupConfigurationFile
- per startupConfigurationFile()public File startupConfigurationFile()
public SMTPTransportX.SimpleAuthentication getAuthenticationMethod()
@ThreadRestricted(value="constructor") public void setAuthenticationMethodSimple(String name, String password)
getAuthenticationMethod()
public String getEncryptionMethod()
setEncryptionMethodSSL()
@ThreadRestricted(value="constructor") public void setEncryptionMethodSSL()
getEncryptionMethod()
public String getServerName()
setServerName(String)
@ThreadRestricted(value="constructor") public void setServerName(String serverName)
getServerName()
public int getServerPort()
setServerPort(int)
@ThreadRestricted(value="constructor") public void setServerPort(int serverPort)
getServerPort()