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.
public NotarySpec(@NotNull
CordaX500Name name,
boolean validating,
@NotNull
java.util.List<net.corda.testing.node.User> rpcUsers,
@NotNull
VerifierType verifierType,
@Nullable
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(@NotNull
CordaX500Name name,
boolean validating,
@NotNull
java.util.List<net.corda.testing.node.User> rpcUsers,
@NotNull
VerifierType verifierType,
@Nullable
ClusterSpec cluster)
public NotarySpec(@NotNull
CordaX500Name name,
boolean validating,
@NotNull
java.util.List<net.corda.testing.node.User> rpcUsers,
@NotNull
VerifierType verifierType,
@Nullable
ClusterSpec cluster,
@NotNull
java.lang.String maximumHeapSize)
public NotarySpec(@NotNull
CordaX500Name name,
boolean validating,
@NotNull
java.util.List<net.corda.testing.node.User> rpcUsers,
@NotNull
VerifierType verifierType,
@Nullable
ClusterSpec cluster,
@NotNull
java.lang.String maximumHeapSize,
boolean startInProcess)
@NotNull public NotarySpec copy(@NotNull CordaX500Name name, boolean validating, @NotNull java.util.List<net.corda.testing.node.User> rpcUsers, @NotNull VerifierType verifierType, @Nullable ClusterSpec cluster)
@NotNull public java.lang.String getMaximumHeapSize()
public void setMaximumHeapSize(@NotNull
java.lang.String p)
@NotNull 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.
@NotNull 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.
@NotNull public VerifierType getVerifierType()
How the notary will verify transactions.
@Nullable public ClusterSpec getCluster()
if this is a distributed cluster notary. If null then this is a single-node notary.
class ClusterSpecpublic boolean getStartInProcess()
Should the notary be started in process.
@NotNull 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.
@NotNull 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.
@NotNull public VerifierType component4()
How the notary will verify transactions.
@Nullable public ClusterSpec component5()
if this is a distributed cluster notary. If null then this is a single-node notary.
class ClusterSpecpublic boolean component6()
Should the notary be started in process.
@NotNull public NotarySpec copy(@NotNull CordaX500Name name, boolean validating, @NotNull java.util.List<net.corda.testing.node.User> rpcUsers, @NotNull VerifierType verifierType, @Nullable 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.
@NotNull public java.lang.String toString()
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 int hashCode()
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 boolean equals(@Nullable
java.lang.Object p)
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.