com.atlassian.confluence.mail.archive
Class PopMailAccount

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

public class PopMailAccount
extends AbstractMailAccount
implements Serializable

See Also:
Serialized Form

Field Summary
static int DEFAULT_POP_PORT
           
 
Fields inherited from class com.atlassian.confluence.mail.archive.AbstractMailAccount
description, enabled, hostname, id, name, password, port, secure, status, username
 
Fields inherited from interface com.atlassian.confluence.mail.archive.MailAccount
DEFAULT_FOLDER, IMAP_PROTOCOL, SECURE_IMAP_PROTOCOL, SECURE_POP_PROTOCOL
 
Constructor Summary
PopMailAccount()
           
PopMailAccount(int id, String name, String description, String hostname, String username, String password, int port, boolean secure)
           
 
Method Summary
 String getFolderName()
           
 String getProtocol()
           
 
Methods inherited from class com.atlassian.confluence.mail.archive.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
 

Field Detail

DEFAULT_POP_PORT

public static final int DEFAULT_POP_PORT
See Also:
Constant Field Values
Constructor Detail

PopMailAccount

public PopMailAccount()

PopMailAccount

public PopMailAccount(int id,
                      String name,
                      String description,
                      String hostname,
                      String username,
                      String password,
                      int port,
                      boolean secure)
Method Detail

getProtocol

public String getProtocol()
Specified by:
getProtocol in interface MailAccount

getFolderName

public 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-2012 Atlassian. All Rights Reserved.