public class NotarySpec
A notary spec for describing a notary which will be started automatically by the driver and which will be part of the network parameters used by all the nodes.
Constructor and Description |
---|
NotarySpec(CordaX500Name name,
boolean validating,
java.util.List<net.corda.testing.node.User> rpcUsers,
VerifierType verifierType,
ClusterSpec cluster,
boolean startInProcess)
A notary spec for describing a notary which will be started automatically by the driver and which will be part of
the network parameters used by all the nodes.
|
NotarySpec(CordaX500Name name,
boolean validating,
java.util.List<net.corda.testing.node.User> rpcUsers,
VerifierType verifierType,
ClusterSpec cluster) |
NotarySpec(CordaX500Name name,
boolean validating,
java.util.List<net.corda.testing.node.User> rpcUsers,
VerifierType verifierType,
ClusterSpec cluster,
java.lang.String maximumHeapSize) |
NotarySpec(CordaX500Name name,
boolean validating,
java.util.List<net.corda.testing.node.User> rpcUsers,
VerifierType verifierType,
ClusterSpec cluster,
java.lang.String maximumHeapSize,
boolean startInProcess) |
Modifier and Type | Method and Description |
---|---|
CordaX500Name |
component1()
The name of the notary.
|
boolean |
component2()
Boolean for whether the notary is validating or non-validating.
|
java.util.List<net.corda.testing.node.User> |
component3()
A list of users able to instigate RPC for this node or cluster of nodes.
|
VerifierType |
component4()
How the notary will verify transactions.
|
ClusterSpec |
component5()
|
boolean |
component6()
Should the notary be started in process.
|
NotarySpec |
copy(CordaX500Name name,
boolean validating,
java.util.List<net.corda.testing.node.User> rpcUsers,
VerifierType verifierType,
ClusterSpec cluster) |
NotarySpec |
copy(CordaX500Name name,
boolean validating,
java.util.List<net.corda.testing.node.User> rpcUsers,
VerifierType verifierType,
ClusterSpec cluster,
boolean startInProcess)
A notary spec for describing a notary which will be started automatically by the driver and which will be part of
the network parameters used by all the nodes.
|
boolean |
equals(java.lang.Object p) |
ClusterSpec |
getCluster()
|
java.lang.String |
getMaximumHeapSize() |
CordaX500Name |
getName()
The name of the notary.
|
java.util.List<net.corda.testing.node.User> |
getRpcUsers()
A list of users able to instigate RPC for this node or cluster of nodes.
|
boolean |
getStartInProcess()
Should the notary be started in process.
|
boolean |
getValidating()
Boolean for whether the notary is validating or non-validating.
|
VerifierType |
getVerifierType()
How the notary will verify transactions.
|
int |
hashCode() |
void |
setMaximumHeapSize(java.lang.String p) |
java.lang.String |
toString() |
public NotarySpec(CordaX500Name name, boolean validating, java.util.List<net.corda.testing.node.User> rpcUsers, VerifierType verifierType, ClusterSpec cluster, boolean startInProcess)
A notary spec for describing a notary which will be started automatically by the driver and which will be part of the network parameters used by all the nodes.
name
- The name of the notary. If this is a notary cluster then each node member will be assigned a name based on this name.validating
- Boolean for whether the notary is validating or non-validating.rpcUsers
- A list of users able to instigate RPC for this node or cluster of nodes.verifierType
- How the notary will verify transactions.cluster
- class ClusterSpec
if this is a distributed cluster notary. If null then this is a single-node notary.startInProcess
- Should the notary be started in process.public NotarySpec(CordaX500Name name, boolean validating, java.util.List<net.corda.testing.node.User> rpcUsers, VerifierType verifierType, ClusterSpec cluster)
public NotarySpec(CordaX500Name name, boolean validating, java.util.List<net.corda.testing.node.User> rpcUsers, VerifierType verifierType, ClusterSpec cluster, java.lang.String maximumHeapSize)
public NotarySpec(CordaX500Name name, boolean validating, java.util.List<net.corda.testing.node.User> rpcUsers, VerifierType verifierType, ClusterSpec cluster, java.lang.String maximumHeapSize, boolean startInProcess)
public NotarySpec copy(CordaX500Name name, boolean validating, java.util.List<net.corda.testing.node.User> rpcUsers, VerifierType verifierType, ClusterSpec cluster)
public java.lang.String getMaximumHeapSize()
public void setMaximumHeapSize(java.lang.String p)
public CordaX500Name getName()
The name of the notary.
If this is a notary cluster then each node member will be assigned a name based on this name.
public boolean getValidating()
Boolean for whether the notary is validating or non-validating.
public java.util.List<net.corda.testing.node.User> getRpcUsers()
A list of users able to instigate RPC for this node or cluster of nodes.
public VerifierType getVerifierType()
How the notary will verify transactions.
public ClusterSpec getCluster()
if this is a distributed cluster notary. If null then this is a single-node notary.
class ClusterSpec
public boolean getStartInProcess()
Should the notary be started in process.
public CordaX500Name component1()
The name of the notary.
If this is a notary cluster then each node member will be assigned a name based on this name.
public boolean component2()
Boolean for whether the notary is validating or non-validating.
public java.util.List<net.corda.testing.node.User> component3()
A list of users able to instigate RPC for this node or cluster of nodes.
public VerifierType component4()
How the notary will verify transactions.
public ClusterSpec component5()
if this is a distributed cluster notary. If null then this is a single-node notary.
class ClusterSpec
public boolean component6()
Should the notary be started in process.
public NotarySpec copy(CordaX500Name name, boolean validating, java.util.List<net.corda.testing.node.User> rpcUsers, VerifierType verifierType, ClusterSpec cluster, boolean startInProcess)
A notary spec for describing a notary which will be started automatically by the driver and which will be part of the network parameters used by all the nodes.
public java.lang.String toString()
public int hashCode()
public boolean equals(java.lang.Object p)