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 AuthorizationReturns the currently registeredAuthorizationif ones configured, otherwise null.Gets the Address which will be monitored for inbound email.voidsetAuthorization(@Nullable Authorization authorization) Register anAuthorizationto use when retrieving email from thisMailServervoidsetToAddress(String toAddress) Sets the Address which will be monitored for inbound email.Methods inherited from class com.atlassian.mail.server.impl.ImapMailServerImpl
getSession, getTypeMethods 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, toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods 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, setUsernameMethods inherited from interface com.atlassian.confluence.mail.OAuth2MailServer
isBasicAuth
-
Constructor Details
-
ConfluenceImapMailServer
-
-
Method Details
-
getToAddress
Description copied from interface:InboundMailServerGets the Address which will be monitored for inbound email.- Specified by:
getToAddressin interfaceInboundMailServer- Returns:
- email address
-
setToAddress
Description copied from interface:InboundMailServerSets the Address which will be monitored for inbound email.- Specified by:
setToAddressin interfaceInboundMailServer- Parameters:
toAddress-
-
getAuthorization
Description copied from interface:OAuth2MailServerReturns the currently registeredAuthorizationif ones configured, otherwise null.- Specified by:
getAuthorizationin interfaceOAuth2MailServer- Returns:
Authorization
-
setAuthorization
Description copied from interface:OAuth2MailServerRegister anAuthorizationto use when retrieving email from thisMailServer- Specified by:
setAuthorizationin interfaceOAuth2MailServer- Parameters:
authorization- AnAuthorizationmethodology e.g. OAuth 2.0
-