Package com.atlassian.confluence.mail
Class ConfluenceImapMailServer
java.lang.Object
com.atlassian.mail.server.AbstractMailServer
com.atlassian.mail.server.impl.ImapMailServerImpl
com.atlassian.confluence.mail.ConfluenceImapMailServer
- All Implemented Interfaces:
InboundMailServer
,OAuth2MailServer
,com.atlassian.mail.server.auth.AuthenticationContextAware
,com.atlassian.mail.server.ImapMailServer
,com.atlassian.mail.server.IncomingMailServer
,com.atlassian.mail.server.MailServer
,Serializable
public class ConfluenceImapMailServer
extends com.atlassian.mail.server.impl.ImapMailServerImpl
implements InboundMailServer
A Confluence IMAP server.
- Since:
- 8.2
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class com.atlassian.mail.server.impl.ImapMailServerImpl
com.atlassian.mail.server.impl.ImapMailServerImpl.Builder<T extends com.atlassian.mail.server.impl.ImapMailServerImpl.Builder<T>>
-
Field Summary
Fields inherited from class com.atlassian.mail.server.AbstractMailServer
isAuthenticating, log
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription@Nullable Authorization
Returns the currently registeredAuthorization
if ones configured, otherwise null.Gets the Address which will be monitored for inbound email.void
setAuthorization
(@Nullable Authorization authorization) Register anAuthorization
to use when retrieving email from thisMailServer
void
setToAddress
(String toAddress) Sets the Address which will be monitored for inbound email.Methods inherited from class com.atlassian.mail.server.impl.ImapMailServerImpl
getSession, getType
Methods inherited from class com.atlassian.mail.server.AbstractMailServer
equals, getAuthenticationContext, getAuthenticator, getConnectionTimeout, getDebug, getDebugStream, getDescription, getHostname, getId, getMailProtocol, getMoreDebugInfoAboutCreatedSession, getName, getPassword, getPort, getProperties, getSessionFromServerManager, getSessionFromServerManagerInternal, getSocksHost, getSocksPort, getTimeout, getUsername, hashCode, isTlsRequired, loadSystemProperties, propertyChanged, setAuthenticationContext, setConnectionTimeout, setDebug, setDebugStream, setDescription, setHostname, setId, setLogger, setMailProtocol, setName, setPassword, setPort, setProperties, setSocksHost, setSocksPort, setTimeout, setTlsRequired, setUsername, smartConnect, toString
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.atlassian.mail.server.MailServer
getDebug, getDescription, getHostname, getId, getMailProtocol, getName, getPassword, getPort, getProperties, getSession, getSocksHost, getSocksPort, getTimeout, getType, getUsername, isTlsHostnameCheckRequired, setDebug, setDebugStream, setDescription, setHostname, setId, setLogger, setMailProtocol, setName, setPassword, setPort, setProperties, setSocksHost, setSocksPort, setTimeout, setTlsHostnameCheckRequired, setUsername
Methods inherited from interface com.atlassian.confluence.mail.OAuth2MailServer
isBasicAuth
-
Constructor Details
-
ConfluenceImapMailServer
-
-
Method Details
-
getToAddress
Description copied from interface:InboundMailServer
Gets the Address which will be monitored for inbound email.- Specified by:
getToAddress
in interfaceInboundMailServer
- Returns:
- email address
-
setToAddress
Description copied from interface:InboundMailServer
Sets the Address which will be monitored for inbound email.- Specified by:
setToAddress
in interfaceInboundMailServer
-
getAuthorization
Description copied from interface:OAuth2MailServer
Returns the currently registeredAuthorization
if ones configured, otherwise null.- Specified by:
getAuthorization
in interfaceOAuth2MailServer
- Returns:
Authorization
-
setAuthorization
Description copied from interface:OAuth2MailServer
Register anAuthorization
to use when retrieving email from thisMailServer
- Specified by:
setAuthorization
in interfaceOAuth2MailServer
- Parameters:
authorization
- AnAuthorization
methodology e.g. OAuth 2.0
-