|
Last update: 2011-06-23 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.proteios.io.NotificationConfiguration
public class NotificationConfiguration
This class represents a notification configuration.
| Nested Class Summary | |
|---|---|
static class |
NotificationConfiguration.Mode
The notification mode. |
| Constructor Summary | |
|---|---|
NotificationConfiguration()
NotificationConfiguration constructor. |
|
| Method Summary | |
|---|---|
void |
fetchConfiguration(User user)
Fetches notification configurations that have not been explicitly set in this class from properties files and other sources. |
String |
getFromAddress()
Get the "from" address to use for e-mail notification. |
String |
getFromName()
Get the "from" name to use for e-mail notification. |
int |
getMode()
Get the notification mode. 0 = "Never". 1 = "After every finished job". 2 = "After all jobs finished". |
String |
getSmtpHost()
Get the SMTP host to use for e-mail notification. |
String |
getToAddress()
Get the "to" address to use for e-mail notification. |
void |
setFromAddress(String fromAddress)
Set the "from" address to use for e-mail notification. |
void |
setFromName(String fromName)
Set the "from" name to use for e-mail notification. |
void |
setMode(int mode)
Set the notification mode. 0 = "Never". 1 = "After every finished job". 2 = "After all jobs finished". |
void |
setSmtpHost(String smtpHost)
Set the SMTP host to use for e-mail notification. |
void |
setToAddress(String toAddress)
Set the "to" address to use for e-mail notification. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public NotificationConfiguration()
| Method Detail |
|---|
public String getSmtpHost()
public void setSmtpHost(String smtpHost)
smtpHost - String The SMTP host to use for e-mail notification.public String getFromAddress()
public void setFromAddress(String fromAddress)
fromAddress - String The "from" address to use for e-mail notification.public String getFromName()
public void setFromName(String fromName)
fromName - String The "from" name to use for e-mail notification.public String getToAddress()
public void setToAddress(String toAddress)
toAddress - String The "to" address to use for e-mail notification.public int getMode()
public void setMode(int mode)
mode - int The notification mode to use.public void fetchConfiguration(User user)
user - User The user for which preferences should be obtained.
|
Last update: 2011-06-23 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||