com.atlassian.confluence.mail
Class ImapMailAccount

java.lang.Object
  extended by com.atlassian.confluence.mail.AbstractMailAccount
      extended by com.atlassian.confluence.mail.ImapMailAccount
All Implemented Interfaces:
MailAccount, java.io.Serializable

public class ImapMailAccount
extends AbstractMailAccount
implements java.io.Serializable

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.atlassian.confluence.mail.AbstractMailAccount
description, enabled, hostname, id, name, password, port, secure, status, username
 
Fields inherited from interface com.atlassian.confluence.mail.MailAccount
DEFAULT_FOLDER, IMAP_PROTOCOL, POP_PROTOCOL, SECURE_IMAP_PROTOCOL, SECURE_POP_PROTOCOL
 
Constructor Summary
ImapMailAccount()
           
ImapMailAccount(int id, java.lang.String name, java.lang.String description, java.lang.String hostname, java.lang.String username, java.lang.String password, int port, boolean secure)
           
 
Method Summary
 java.lang.String getFolderName()
           
 java.lang.String getProtocol()
           
 
Methods inherited from class com.atlassian.confluence.mail.AbstractMailAccount
disable, enable, getDescription, getHostname, getId, getName, getPassword, getPort, getStatus, getUsername, isDisabled, isEnabled, isSecure, lockName, setDescription, setEnabled, setHostname, setId, setName, setPassword, setPort, setSecure, setStatus, setUsername, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ImapMailAccount

public ImapMailAccount()

ImapMailAccount

public ImapMailAccount(int id,
                       java.lang.String name,
                       java.lang.String description,
                       java.lang.String hostname,
                       java.lang.String username,
                       java.lang.String password,
                       int port,
                       boolean secure)
Method Detail

getProtocol

public java.lang.String getProtocol()
Specified by:
getProtocol in interface MailAccount

getFolderName

public java.lang.String getFolderName()
Specified by:
getFolderName in interface MailAccount
Returns:
the name of the folder to open once a connection can be established with this account


Copyright © 2003-2010 Atlassian. All Rights Reserved.