|
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.ObjectMailResponder.ConfigurationContext
@ThreadSafe public static final class MailResponder.ConfigurationContext
A context for configuring the mail responder daemon. The daemon is configured by the responder's configuration file, which contains a script (s) for that purpose. During construction of the daemon, an instance of this context (daemonCC) is passed to s, via s::configureMailRD(daemonCC).
| Method Summary | |
|---|---|
(package private) static MailResponder.ConfigurationContext |
configure(ElectoralSubserver subserver,
JavaScriptIncluder s)
Constructs the complete configuration of the responder daemon. |
int |
getInboxPollSleepSeconds()
Returns the delay prior to each poll of the inbox for new messages. |
String |
getInboxStoreURLName()
|
boolean |
isDryRun()
|
void |
setDryRun(boolean newDryRun)
Sets whether the daemon is to run without making any persistent state changes. |
void |
setInboxPollSleepSeconds(int inboxPollSleepSeconds)
Sets the delay prior to each poll of the inbox. |
void |
setInboxStoreURLName(String inboxStoreURLName)
Sets the protocol and location of the inbox. |
SMTPTransportX.ConfigurationContext |
transferService()
The context for configuring access to the mail transfer server, through which outgoing messages (such as replies to voters) are sent. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
static MailResponder.ConfigurationContext configure(ElectoralSubserver subserver,
JavaScriptIncluder s)
throws ScriptException
s - the compiled configuration script
ScriptExceptionpublic int getInboxPollSleepSeconds()
setInboxPollSleepSeconds(int)@ThreadRestricted(value="constructor") public void setInboxPollSleepSeconds(int inboxPollSleepSeconds)
getInboxPollSleepSeconds()public String getInboxStoreURLName()
MailResponder.inboxStoreURLName(),
setInboxStoreURLName(String)@ThreadRestricted(value="constructor") public void setInboxStoreURLName(String inboxStoreURLName)
MailResponder.inboxStoreURLName()public final boolean isDryRun()
MailResponder.isDryRun(),
setDryRun(boolean)public final void setDryRun(boolean newDryRun)
MailResponder.isDryRun()public SMTPTransportX.ConfigurationContext transferService()
|
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||