@ThreadRestricted(value="constructor") public static final class PollService.ConstructionContext extends VoterService.ConstructionContext
Modifier and Type | Method and Description |
---|---|
void |
addDivisionalComponent(String div)
Adds a division to the set of divisions whose members are exclusively eligible
to vote in this poll.
|
String |
getDisplayTitle() |
String |
getDivisionPageName() |
String |
getDivisionSmallMapPageName() |
String |
getIssueType() |
long |
getPopulationSize() |
String |
getPopulationSizeExplanation() |
String |
getSummaryDescription() |
String |
getWGLogoImageLocation() |
String |
getWGLogoLinkTarget() |
boolean |
isReconstruct()
Answers whether scratch construction is being attempted, in which cached
configuration items are ignored.
|
void |
setDisplayTitle(String _displayTitle)
Sets the display title of the poll.
|
void |
setDivisionPageName(String _divisionPageName)
Sets the pollwiki pagename of the polling division.
|
void |
setDivisionSmallMapPageName(String _divisionSmallMapPageName)
Sets the pollwiki pagename of the polling divisionSmallMap.
|
void |
setIssueType(String _issueType)
Sets the issue type of the poll.
|
void |
setPopulationSize(long _populationSize)
Sets the population base of this poll.
|
void |
setPopulationSizeExplanation(String _populationSizeExplanation)
Sets the explanation of the population base.
|
void |
setSummaryDescription(String _summaryDescription)
Sets the summaryDescription of the poll.
|
void |
setWGLogoImageLocation(String _wgLogoImageLocation)
Sets the image location for the wiki logo.
|
void |
setWGLogoLinkTarget(String _wgLogoLinkTarget)
Sets the link target of the wiki logo.
|
VoteServer |
voteServer()
The vote-server.
|
name, startupConfigurationFile
public void addDivisionalComponent(String div)
div
- the pagename of a division as defined in the local
pollwiki, or the URL of a remotely defined divisionPollService.divisionalComponents()
public String getDisplayTitle()
public void setDisplayTitle(String _displayTitle)
PollService.displayTitle()
public String getDivisionPageName()
public void setDivisionPageName(String _divisionPageName)
PollService.divisionPageName()
public String getDivisionSmallMapPageName()
public void setDivisionSmallMapPageName(String _divisionSmallMapPageName)
public String getIssueType()
PollService.issueType()
,
setIssueType(String)
public void setIssueType(String _issueType)
PollService.issueType()
public long getPopulationSize()
public void setPopulationSize(long _populationSize)
PollService.populationSize()
public String getPopulationSizeExplanation()
public void setPopulationSizeExplanation(String _populationSizeExplanation)
public VoteServer voteServer()
public String getSummaryDescription()
public void setSummaryDescription(String _summaryDescription)
PollService.summaryDescription()
public String getWGLogoImageLocation()
public void setWGLogoImageLocation(String _wgLogoImageLocation)
PollService.wgLogoImageLocation()
public String getWGLogoLinkTarget()
public void setWGLogoLinkTarget(String _wgLogoLinkTarget)
PollService.wgLogoLinkTarget()
public boolean isReconstruct()