Class DefaultIncomingConnectionVerifier
- java.lang.Object
-
- com.atlassian.confluence.internal.diagnostics.ipd.mail.incoming.DefaultIncomingConnectionVerifier
-
- All Implemented Interfaces:
ConnectionVerifier
public class DefaultIncomingConnectionVerifier extends Object implements ConnectionVerifier
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface com.atlassian.confluence.internal.diagnostics.ipd.mail.ConnectionVerifier
ConnectionVerifier.AuthenticationType
-
-
Constructor Summary
Constructors Constructor Description DefaultIncomingConnectionVerifier(OAuth2Service oAuth2Service)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
verifyConnection(com.atlassian.mail.server.MailServer mailServer)
Verifies connection to a mail server.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.atlassian.confluence.internal.diagnostics.ipd.mail.ConnectionVerifier
getAuthenticationType
-
-
-
-
Constructor Detail
-
DefaultIncomingConnectionVerifier
public DefaultIncomingConnectionVerifier(OAuth2Service oAuth2Service)
-
-
Method Detail
-
verifyConnection
public void verifyConnection(com.atlassian.mail.server.MailServer mailServer) throws Exception
Description copied from interface:ConnectionVerifier
Verifies connection to a mail server.- Specified by:
verifyConnection
in interfaceConnectionVerifier
- Parameters:
mailServer
- mail server to verify connection to- Throws:
Exception
- if connection validation fails
-
-