|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object pt.digitalis.dif.utils.mail.MailConfiguration
public class MailConfiguration
Field Summary | |
---|---|
static String |
CONFIG_ID
The Constant CONFIG_ID. |
static String |
CONFIG_SECTION_ID
The Constant CONFIG_SECTION_ID. |
Constructor Summary | |
---|---|
MailConfiguration()
MailConfiguration Construtor |
Method Summary | |
---|---|
pt.digitalis.utils.config.IConfigurations |
getConfigurations()
Gets the configurations. |
String |
getDebugEnabled()
Inspector for the 'debugEnabled' attribute. |
String |
getDefaultFromAddress()
Inspector for the 'defaultFromAddress' attribute. |
String |
getEncoding()
Inspector for the 'enconding' attribute. |
int |
getGapBetweenMails()
Inspector for the 'GapBetweenMails' attribute. |
static IMailConfiguration |
getInstance()
|
int |
getLimitMaxEmails()
Inspector for the 'LimitMaxEmails' attribute. |
int |
getLimitTimeInterval()
Inspector for the 'LimitTimeInterval' attribute. |
String |
getMailServer()
Inspector for the 'mailServer' attribute. |
String |
getMailServerPassword()
Inspector for the 'mailServerPassword' attribute. |
int |
getMailServerPort()
Inspector for the 'mailServerPort' attribute. |
String |
getMailServerUsername()
Inspector for the 'mailServerUsername' attribute. |
Properties |
getOriginalConfs()
Inspector for the 'originalConfs' attribute. |
Boolean |
getUseSSL()
Inspector for the 'useSSL' attribute. |
void |
setConfigurations(pt.digitalis.utils.config.IConfigurations configurations)
Modifier for the 'configurations' attribute. |
void |
setDebugEnabled(String debugEnabled)
Modifier for the 'debugEnabled' attribute. |
void |
setDefaultFromAddress(String defaultFromAddress)
Modifier for the 'defaultFromAddress' attribute. |
void |
setEncoding(String enconding)
Modifier for the 'enconding' attribute. |
void |
setGapBetweenMails(int gapBetweenMails)
Modifier for the 'GapBetweenMails' attribute. |
void |
setLimitMaxEmails(int limitMaxEmails)
Modifier for the 'LimitMaxEmails' attribute. |
void |
setLimitTimeInterval(int limitTimeInterval)
Modifier for the 'LimitTimeInterval' attribute. |
void |
setMailServer(String mailServer)
Modifier for the 'mailServer' attribute. |
void |
setMailServerPassword(String mailServerPassword)
Modifier for the 'mailServerPassword' attribute. |
void |
setMailServerPort(int mailServerPort)
Modifier for the 'mailServerPort' attribute. |
void |
setMailServerUsername(String mailServerUsername)
Modifier for the 'mailServerUsername' attribute. |
void |
setOriginalConfs(Properties originalConfs)
Modifier for the 'originalConfs' attribute. |
void |
setUseSSL(Boolean useSSL)
Modifier for the 'useSSL' attribute. |
void |
writeConfiguration()
Write configuration |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String CONFIG_ID
public static final String CONFIG_SECTION_ID
Constructor Detail |
---|
public MailConfiguration()
Method Detail |
---|
public static IMailConfiguration getInstance()
MailConfiguration
public pt.digitalis.utils.config.IConfigurations getConfigurations()
getConfigurations
in interface IMailConfiguration
public String getDebugEnabled()
getDebugEnabled
in interface IMailConfiguration
public String getDefaultFromAddress()
getDefaultFromAddress
in interface IMailConfiguration
public String getEncoding()
getEncoding
in interface IMailConfiguration
public int getGapBetweenMails()
getGapBetweenMails
in interface IMailConfiguration
public int getLimitMaxEmails()
getLimitMaxEmails
in interface IMailConfiguration
public int getLimitTimeInterval()
getLimitTimeInterval
in interface IMailConfiguration
public String getMailServer()
getMailServer
in interface IMailConfiguration
public String getMailServerPassword()
getMailServerPassword
in interface IMailConfiguration
public int getMailServerPort()
getMailServerPort
in interface IMailConfiguration
public String getMailServerUsername()
getMailServerUsername
in interface IMailConfiguration
public Properties getOriginalConfs()
getOriginalConfs
in interface IMailConfiguration
public Boolean getUseSSL()
getUseSSL
in interface IMailConfiguration
public void setConfigurations(pt.digitalis.utils.config.IConfigurations configurations)
setConfigurations
in interface IMailConfiguration
configurations
- the new configurations value to setpublic void setDebugEnabled(String debugEnabled)
setDebugEnabled
in interface IMailConfiguration
debugEnabled
- the new debugEnabled value to setpublic void setDefaultFromAddress(String defaultFromAddress)
setDefaultFromAddress
in interface IMailConfiguration
defaultFromAddress
- the new defaultFromAddress value to setpublic void setEncoding(String enconding)
setEncoding
in interface IMailConfiguration
enconding
- the new enconding value to setpublic void setGapBetweenMails(int gapBetweenMails)
setGapBetweenMails
in interface IMailConfiguration
gapBetweenMails
- the new gapBetweenMails value to setpublic void setLimitMaxEmails(int limitMaxEmails)
setLimitMaxEmails
in interface IMailConfiguration
limitMaxEmails
- the new limitMaxEmails value to setpublic void setLimitTimeInterval(int limitTimeInterval)
setLimitTimeInterval
in interface IMailConfiguration
limitTimeInterval
- the new limitTimeInterval value to setpublic void setMailServer(String mailServer)
setMailServer
in interface IMailConfiguration
mailServer
- the new mailServer value to setpublic void setMailServerPassword(String mailServerPassword)
setMailServerPassword
in interface IMailConfiguration
mailServerPassword
- the new mailServerPassword value to setpublic void setMailServerPort(int mailServerPort)
setMailServerPort
in interface IMailConfiguration
mailServerPort
- the new mailServerPort value to setpublic void setMailServerUsername(String mailServerUsername)
setMailServerUsername
in interface IMailConfiguration
mailServerUsername
- the new mailServerUsername value to setpublic void setOriginalConfs(Properties originalConfs)
setOriginalConfs
in interface IMailConfiguration
originalConfs
- the new originalConfs value to setpublic void setUseSSL(Boolean useSSL)
setUseSSL
in interface IMailConfiguration
useSSL
- the new useSSL value to setpublic void writeConfiguration() throws Exception
writeConfiguration
in interface IMailConfiguration
Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |