|
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.ObjectDistrict.ConfigurationContext
@ThreadSafe public static final class District.ConfigurationContext
A context for configuring an electoral district. The district is configured by its configuration file, which contains a script (s) for that purpose. During construction of the district, an instance of this context (districtCC) is passed to s, via s::configureDistrict(districtCC).
| Method Summary | |
|---|---|
String |
getSchemeConfigurationPath()
|
String |
getShortTitle()
|
String |
getSummaryDescription()
|
String |
getTitle()
|
void |
setSchemeConfigurationPath(String schemeConfigurationPath)
Sets the path to the configuration file of this district's scheme. |
void |
setShortTitle(String shortTitle)
Sets the short title of the district. |
void |
setSummaryDescription(String summaryDescription)
Sets the summary description of the district. |
void |
setTitle(String title)
Sets the title of the district. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public String getSchemeConfigurationPath()
District.regionalScheme(),
setSchemeConfigurationPath(String)@ThreadRestricted(value="constructor") public void setSchemeConfigurationPath(String schemeConfigurationPath)
District.regionalScheme(),
RegionalScheme.configurationFile()public String getShortTitle()
District.shortTitle(),
setShortTitle(String)@ThreadRestricted(value="constructor") public void setShortTitle(String shortTitle)
District.shortTitle()public String getSummaryDescription()
District.summaryDescription(),
setSummaryDescription(String)@ThreadRestricted(value="constructor") public void setSummaryDescription(String summaryDescription)
IllegalArgumentException - if the description contains
any newline characters, because they might render inconsistently
across different types of user interfaceDistrict.summaryDescription()public String getTitle()
District.title(),
setTitle(String)@ThreadRestricted(value="constructor") public void setTitle(String title)
District.title()
|
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||