@ThreadRestricted(value="constructor") public static final class Trustserver.ConstructionContext extends VoterService.ConstructionContext
Modifier and Type | Method and Description |
---|---|
void |
addPrimaryTrust(IDPair registrant1,
int edgeCount)
Adds primary trust extensions.
|
void |
addPrimaryTrustForUsername(String registrant1Username,
int edgeCount)
Adds primary trust extensions for the specified registrant.
|
TrustEdge.Primary[] |
getPrimaryTrustArray()
The primary trust to extend for each trace of the trust network.
|
String |
getSummaryDescription() |
String |
getTitle() |
void |
setSummaryDescription(String summaryDescription)
Sets the summary description of the trustserver.
|
void |
setTitle(String title)
Sets the title of the trustserver.
|
VoteServer |
voteServer()
The vote-server.
|
name, startupConfigurationFile
public TrustEdge.Primary[] getPrimaryTrustArray()
addPrimaryTrust(IDPair,int)
public void addPrimaryTrust(IDPair registrant1, int edgeCount)
getPrimaryTrustArray()
public void addPrimaryTrustForUsername(String registrant1Username, int edgeCount) throws AddressException
AddressException
addPrimaryTrust(IDPair,int)
public String getSummaryDescription()
public void setSummaryDescription(String summaryDescription)
IllegalArgumentException
- if the description contains any
newline characters, because they might render inconsistently across
different types of user interface.Trustserver.summaryDescription()
public String getTitle()
Trustserver.title()
,
setTitle(String)
public void setTitle(String title)
Trustserver.title()
public VoteServer voteServer()