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,com.atlassian.mail.server.auth.AuthenticationContextAware,com.atlassian.mail.server.ImapMailServer,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:
- Serialized Form
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description @Nullable AuthorizationgetAuthorization()Returns the currently registeredAuthorizationif ones configured, otherwise null.StringgetToAddress()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.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.confluence.mail.InboundMailServer
isBasicAuth
-
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
-
-
-
-
Method Detail
-
getToAddress
public String getToAddress()
Description copied from interface:InboundMailServerGets the Address which will be monitored for inbound email.- Specified by:
getToAddressin interfaceInboundMailServer- Returns:
- email address
-
setToAddress
public void setToAddress(String toAddress)
Description copied from interface:InboundMailServerSets the Address which will be monitored for inbound email.- Specified by:
setToAddressin interfaceInboundMailServer
-
getAuthorization
public @Nullable Authorization getAuthorization()
Description copied from interface:InboundMailServerReturns the currently registeredAuthorizationif ones configured, otherwise null.- Specified by:
getAuthorizationin interfaceInboundMailServer- Returns:
Authorization
-
setAuthorization
public void setAuthorization(@Nullable Authorization authorization)
Description copied from interface:InboundMailServerRegister anAuthorizationto use when retrieving email from thisMailServer- Specified by:
setAuthorizationin interfaceInboundMailServer- Parameters:
authorization- AnAuthorizationmethodology e.g. OAuth 2.0
-
-