|
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.ObjectPollserver
@ThreadSafe public final class Pollserver
A server that provides polls and other voter services.
| Nested Class Summary | |
|---|---|
static class |
Pollserver.ConstructionContext
A context for configuring a pollserver. |
static class |
Pollserver.DatabaseCC
A context for configuring a PostgreSQL database for a pollserver. |
class |
Pollserver.Run
A run of the pollserver. |
static class |
Pollserver.TestUseMode
A mode of test usage for a pollserver. |
static interface |
Pollserver.UserSession
A session between a user and a running pollserver. |
| Constructor Summary | |
|---|---|
Pollserver(String name)
Constructs a Pollserver. |
|
| Method Summary | |
|---|---|
File |
inDirectory()
The base directory ~/votorola/in of the file portion of the input
store. |
String |
name()
The login name of the account on the local host computer, under which the pollserver's data is stored and its processes are run. |
File |
outDirectory()
The base directory ~/votorola/out of the file portion of the output
store. |
Poll.PollserverScope |
scopePoll()
API for all polls within the scope of this pollserver. |
String |
serverName()
The fully qualified name of the computer on which this pollserver is hosted. |
String |
shortTitle()
A short version of the title, restricted to roughly SHORT_STRING_LENGTH_MAX characters. |
(package private) File |
startupConfigurationFile()
The startup configuration file for this pollserver. |
String |
summaryDescription()
A brief description of this pollserver, in sentence form. |
Pollserver.TestUseMode |
testUseMode()
The test use mode of this pollserver. |
String |
title()
The title of this pollserver, in wiki-style title case (leading letter only). |
File |
votorolaDirectory()
The base directory ~/votorola of all pollserver configuration files,
where ~ is the home directory of the pollserver account. |
URI |
wikiLocation()
The location of the pollwiki, which provides default drafting facilities and knowledge-base services. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Pollserver(String name)
throws IOException,
ScriptException,
URISyntaxException
name - per name()
IOException
ScriptException
URISyntaxException| Method Detail |
|---|
public File inDirectory()
~/votorola/in of the file portion of the input
store.
InputStorepublic String name()
serverName(),
../s/manual.xht#pollserver-namepublic File outDirectory()
~/votorola/out of the file portion of the output
store.
OutputStorepublic Poll.PollserverScope scopePoll()
public String serverName()
name(),
Pollserver.ConstructionContext.setServerName(String)public String shortTitle()
title(),
Pollserver.ConstructionContext.setTitle(String,String)File startupConfigurationFile()
votorolaDirectory/pollserver.js
The language is JavaScript. There are restrictions on the character encoding.
public String summaryDescription()
Pollserver.ConstructionContext.setSummaryDescription(String)public Pollserver.TestUseMode testUseMode()
Pollserver.ConstructionContext.setTestUseMode(Pollserver.TestUseMode)public String title()
shortTitle(),
Pollserver.ConstructionContext.setTitle(String,String)public File votorolaDirectory()
~/votorola of all pollserver configuration files,
where ~ is the home directory of the pollserver account.
public URI wikiLocation()
Pollserver.ConstructionContext.setWikiLocation(String),
Pollserver.ConstructionContext.setWikiLocation(URI),
../s/manual.xht#wiki
|
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||