public interface MailAccount
Modifier and Type | Field and Description |
---|---|
static String |
DEFAULT_FOLDER |
static String |
IMAP_PROTOCOL |
static String |
POP_PROTOCOL |
static String |
SECURE_IMAP_PROTOCOL |
static String |
SECURE_POP_PROTOCOL |
Modifier and Type | Method and Description |
---|---|
void |
disable()
Prevent this account from retrieving mail in the future
|
void |
enable()
Set this account to be retrieving mail.
|
String |
getDescription() |
String |
getFolderName() |
String |
getHostname() |
int |
getId() |
String |
getName() |
String |
getPassword() |
int |
getPort() |
String |
getProtocol() |
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() |
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) |
static final String POP_PROTOCOL
static final String SECURE_POP_PROTOCOL
static final String IMAP_PROTOCOL
static final String SECURE_IMAP_PROTOCOL
static final String DEFAULT_FOLDER
int getId()
void setId(int id)
String getProtocol()
String getFolderName()
String getName()
void setName(String name)
String getDescription()
void setDescription(String description)
String getHostname()
void setHostname(String hostname)
String getUsername()
void setUsername(String username)
String getPassword()
void setPassword(String password)
int getPort()
void setPort(int port)
boolean getStatus()
void setStatus(boolean status)
void enable()
void disable()
void setEnabled(boolean b)
boolean isEnabled()
boolean isDisabled()
boolean isSecure()
void setSecure(boolean secure)
String lockName()
Copyright © 2003–2015 Atlassian. All rights reserved.
View cookie preferences