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 Authorization
getAuthorization()
Returns the currently registeredAuthorization
if ones configured, otherwise null.String
getToAddress()
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.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:InboundMailServer
Gets the Address which will be monitored for inbound email.- Specified by:
getToAddress
in interfaceInboundMailServer
- Returns:
- email address
-
setToAddress
public void setToAddress(String toAddress)
Description copied from interface:InboundMailServer
Sets the Address which will be monitored for inbound email.- Specified by:
setToAddress
in interfaceInboundMailServer
-
getAuthorization
public @Nullable Authorization getAuthorization()
Description copied from interface:InboundMailServer
Returns the currently registeredAuthorization
if ones configured, otherwise null.- Specified by:
getAuthorization
in interfaceInboundMailServer
- Returns:
Authorization
-
setAuthorization
public void setAuthorization(@Nullable Authorization authorization)
Description copied from interface:InboundMailServer
Register anAuthorization
to use when retrieving email from thisMailServer
- Specified by:
setAuthorization
in interfaceInboundMailServer
- Parameters:
authorization
- AnAuthorization
methodology e.g. OAuth 2.0
-
-