Interface ConnectionVerifier
- All Known Implementing Classes:
DefaultIncomingConnectionVerifier
public interface ConnectionVerifier
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptiondefault void
applyTimeout
(long maxTimeout, ConnectionVerifier.AuthenticationType type, Properties props) getAuthenticationType
(InboundMailServer mailServer) default void
optionallyOverrideTimeout
(Properties properties, String propertyName, long maxTimeout) void
verifyConnection
(com.atlassian.mail.server.MailServer mailServer) Verifies connection to a mail server.
-
Method Details
-
verifyConnection
Verifies connection to a mail server.- Parameters:
mailServer
- mail server to verify connection to- Throws:
Exception
- if connection validation fails
-
applyTimeout
default void applyTimeout(long maxTimeout, ConnectionVerifier.AuthenticationType type, Properties props) -
optionallyOverrideTimeout
-
getAuthenticationType
-