com.atlassian.confluence.mail
Class ImapMailAccount
java.lang.Object
com.atlassian.confluence.mail.AbstractMailAccount
com.atlassian.confluence.mail.ImapMailAccount
- All Implemented Interfaces:
- MailAccount, Serializable
public class ImapMailAccount
- extends AbstractMailAccount
- implements Serializable
- See Also:
- Serialized Form
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 |
ImapMailAccount
public ImapMailAccount()
ImapMailAccount
public ImapMailAccount(int id,
String name,
String description,
String hostname,
String username,
String password,
int port,
boolean secure)
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