|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.atlassian.confluence.mail.archive.AbstractMailAccount
public abstract class AbstractMailAccount
Field Summary | |
---|---|
protected String |
description
|
protected boolean |
enabled
|
protected String |
hostname
|
protected int |
id
|
protected String |
name
|
protected String |
password
|
protected int |
port
|
protected boolean |
secure
|
protected boolean |
status
|
protected String |
username
|
Fields inherited from interface com.atlassian.confluence.mail.archive.MailAccount |
---|
DEFAULT_FOLDER, IMAP_PROTOCOL, POP_PROTOCOL, SECURE_IMAP_PROTOCOL, SECURE_POP_PROTOCOL |
Constructor Summary | |
---|---|
protected |
AbstractMailAccount()
|
protected |
AbstractMailAccount(int id,
String name,
String description,
String hostname,
String username,
String password,
int port,
boolean secure)
|
Method Summary | |
---|---|
void |
disable()
Prevent this account from retrieving mail in the future |
void |
enable()
Set this account to be retrieving mail. |
String |
getDescription()
|
String |
getHostname()
|
int |
getId()
|
String |
getName()
|
String |
getPassword()
|
int |
getPort()
|
boolean |
getStatus()
Returns the status of this mail account the last time an attempt was made to connect to it. |
String |
getUsername()
|
boolean |
isDisabled()
Should this account be used to retrieve mail? |
boolean |
isEnabled()
Should this account be used to retrieve mail? |
boolean |
isSecure()
|
String |
lockName()
A lock identifier for ensuring Confluence only connects once to a given user/host/port combination. |
void |
setDescription(String description)
|
void |
setEnabled(boolean b)
|
void |
setHostname(String hostname)
|
void |
setId(int id)
|
void |
setName(String name)
|
void |
setPassword(String password)
|
void |
setPort(int port)
|
void |
setSecure(boolean secure)
|
void |
setStatus(boolean status)
|
void |
setUsername(String username)
|
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface com.atlassian.confluence.mail.archive.MailAccount |
---|
getFolderName, getProtocol |
Field Detail |
---|
protected int id
protected String name
protected String description
protected String hostname
protected String username
protected String password
protected int port
protected boolean secure
protected boolean status
protected boolean enabled
Constructor Detail |
---|
protected AbstractMailAccount()
protected AbstractMailAccount(int id, String name, String description, String hostname, String username, String password, int port, boolean secure)
Method Detail |
---|
public int getId()
getId
in interface MailAccount
public void setId(int id)
setId
in interface MailAccount
public String getName()
getName
in interface MailAccount
public void setName(String name)
setName
in interface MailAccount
public String getDescription()
getDescription
in interface MailAccount
public void setDescription(String description)
setDescription
in interface MailAccount
public String getHostname()
getHostname
in interface MailAccount
public void setHostname(String hostname)
setHostname
in interface MailAccount
public String getUsername()
getUsername
in interface MailAccount
public void setUsername(String username)
setUsername
in interface MailAccount
public String getPassword()
getPassword
in interface MailAccount
public void setPassword(String password)
setPassword
in interface MailAccount
public int getPort()
getPort
in interface MailAccount
public void setPort(int port)
setPort
in interface MailAccount
public boolean isSecure()
isSecure
in interface MailAccount
public void setSecure(boolean secure)
setSecure
in interface MailAccount
public boolean getStatus()
MailAccount
getStatus
in interface MailAccount
public void setStatus(boolean status)
setStatus
in interface MailAccount
public void enable()
MailAccount
enable
in interface MailAccount
public void disable()
MailAccount
disable
in interface MailAccount
public boolean isEnabled()
MailAccount
isEnabled
in interface MailAccount
public void setEnabled(boolean b)
setEnabled
in interface MailAccount
public boolean isDisabled()
MailAccount
isDisabled
in interface MailAccount
public String toString()
toString
in class Object
public String lockName()
lockName
in interface MailAccount
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |