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
    Constructor
    Description
    ConfluenceImapMailServer(Long id, String name, String description, com.atlassian.mail.MailProtocol protocol, String hostname, String port, String username, String password, String toAddress)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    @Nullable Authorization
    Returns the currently registered Authorization if ones configured, otherwise null.
    Gets the Address which will be monitored for inbound email.
    void
    setAuthorization(@Nullable Authorization authorization)
    Register an Authorization to use when retrieving email from this MailServer
    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