public final class JFPServerAdminHTTPSConfigFromProperties extends Object implements JFPServerAdminHTTPSConfigType
Modifier and Type | Method and Description |
---|---|
static JFPServerAdminHTTPSConfigType |
fromProperties(Properties p)
Load configuration data from the given properties.
|
static com.io7m.jfunctional.OptionType<JFPServerAdminHTTPSConfigType> |
fromPropertiesOptional(Properties p)
Load (optional) configuration data from the given properties.
|
InetSocketAddress |
getAddress() |
String |
getKeyStorePassword() |
File |
getKeyStorePath() |
String |
getKeyStoreType() |
String |
getTrustStorePassword() |
File |
getTrustStorePath() |
String |
getTrustStoreType() |
public static JFPServerAdminHTTPSConfigType fromProperties(Properties p) throws com.io7m.jproperties.JPropertyException, JFPExceptionInvalidArgument, javax.mail.internet.AddressException
p
- The propertiescom.io7m.jproperties.JPropertyException
- On malformed config files.JFPExceptionInvalidArgument
- On invalid arguments.javax.mail.internet.AddressException
- On invalid email addresses.public static com.io7m.jfunctional.OptionType<JFPServerAdminHTTPSConfigType> fromPropertiesOptional(Properties p) throws com.io7m.jproperties.JPropertyException, JFPExceptionInvalidArgument, javax.mail.internet.AddressException
p
- The propertiescom.io7m.jproperties.JPropertyException
- On malformed config files.JFPExceptionInvalidArgument
- On invalid arguments.javax.mail.internet.AddressException
- On invalid email addresses.public InetSocketAddress getAddress()
getAddress
in interface JFPServerAdminHTTPSConfigType
public String getKeyStorePassword()
getKeyStorePassword
in interface JFPServerAdminHTTPSConfigType
public File getKeyStorePath()
getKeyStorePath
in interface JFPServerAdminHTTPSConfigType
public String getKeyStoreType()
getKeyStoreType
in interface JFPServerAdminHTTPSConfigType
public String getTrustStorePassword()
getTrustStorePassword
in interface JFPServerAdminHTTPSConfigType
public File getTrustStorePath()
getTrustStorePath
in interface JFPServerAdminHTTPSConfigType
public String getTrustStoreType()
getTrustStoreType
in interface JFPServerAdminHTTPSConfigType
Copyright © 2015 <code@io7m.com> http://io7m.com