@ThreadSafe public static final class PollwikiVS.ConstructionContext extends Object
Constructor and Description |
---|
PollwikiVS.ConstructionContext() |
Modifier and Type | Method and Description |
---|---|
String |
getPassword()
The password for this vote-server's wiki account.
|
int |
getRevisionSeries()
The identifier of the revision series.
|
URI |
getScriptURI()
The base URI for requesting wiki scripts, or null for the default.
|
URI |
getURI()
The base location for requesting wiki pages, or null for the default.
|
(package private) void |
postConfigure(VoteServer.ConstructionContext vsCC)
Finalizes the configuration.
|
void |
setLocation(String s)
Sets the base location for requesting wiki pages.
|
void |
setPassword(String p)
Sets the password for this vote-server's wiki account, which goes by the
username Vobot.
|
void |
setRevisionSeries(int p)
Sets the identifier of the revision series.
|
void |
setScriptLocation(String s)
Sets the base URI for requesting wiki scripts.
|
void |
setScriptURI(URI u)
Sets the base URI for requesting wiki scripts.
|
void |
setURI(URI u)
Sets the base location for requesting wiki pages.
|
public PollwikiVS.ConstructionContext()
void postConfigure(VoteServer.ConstructionContext vsCC) throws URISyntaxException
URISyntaxException
public URI getURI()
PollwikiVS.uri()
,
setLocation(String)
,
setURI(URI)
@ThreadRestricted(value="constructor") public void setLocation(String s) throws URISyntaxException
IllegalArgumentException
- if the URI ends with a slash '/' character.URISyntaxException
PollwikiVS.uri()
@ThreadRestricted(value="constructor") public void setURI(URI u)
IllegalArgumentException
- if the URI ends with a slash '/' character.PollwikiVS.uri()
public String getPassword()
PollwikiVS.password()
,
setPassword(String)
@ThreadRestricted(value="constructor") public void setPassword(String p)
PollwikiVS.password()
public int getRevisionSeries()
@ThreadRestricted(value="constructor") public void setRevisionSeries(int p)
PollwikiVS.revisionSeries()
public URI getScriptURI()
@ThreadRestricted(value="constructor") public void setScriptLocation(String s) throws URISyntaxException
IllegalArgumentException
- if the URI ends with a slash '/' character.URISyntaxException
PollwikiVS.scriptURI()
@ThreadRestricted(value="constructor") public void setScriptURI(URI u)
IllegalArgumentException
- if the URI ends with a slash '/' character.PollwikiVS.scriptURI()