public class MockNetworkNotarySpec
The spec for a notary which will used by the class MockNetwork to automatically start a notary node. This notary will
become part of the network parameters used by all the nodes.
class MockNetwork@JvmOverloads
public MockNetworkNotarySpec(@NotNull
CordaX500Name name,
boolean validating)
The spec for a notary which will used by the class MockNetwork to automatically start a notary node. This notary will
become part of the network parameters used by all the nodes.
name - The name of the notary node.validating - Boolean for whether the notary is validating or non-validating.class MockNetwork@JvmOverloads
public MockNetworkNotarySpec(@NotNull
CordaX500Name name)
The spec for a notary which will used by the class MockNetwork to automatically start a notary node. This notary will
become part of the network parameters used by all the nodes.
name - The name of the notary node.class MockNetworkpublic MockNetworkNotarySpec(@NotNull
CordaX500Name name,
boolean validating,
@Nullable
java.lang.String className)
@Nullable public java.lang.String getClassName()
String the optional name of a notary service class to load. If null, a builtin notary is loaded.
public void setClassName(@Nullable
java.lang.String p)
String the optional name of a notary service class to load. If null, a builtin notary is loaded.
@NotNull public CordaX500Name getName()
The name of the notary node.
public boolean getValidating()
Boolean for whether the notary is validating or non-validating.
@NotNull public CordaX500Name component1()
The name of the notary node.
public boolean component2()
Boolean for whether the notary is validating or non-validating.
@NotNull public MockNetworkNotarySpec copy(@NotNull CordaX500Name name, boolean validating)
The spec for a notary which will used by the class MockNetwork to automatically start a notary node. This notary will
become part of the network parameters used by all the nodes.
class MockNetwork@NotNull public java.lang.String toString()
The spec for a notary which will used by the class MockNetwork to automatically start a notary node. This notary will
become part of the network parameters used by all the nodes.
class MockNetworkpublic int hashCode()
The spec for a notary which will used by the class MockNetwork to automatically start a notary node. This notary will
become part of the network parameters used by all the nodes.
class MockNetworkpublic boolean equals(@Nullable
java.lang.Object p)
The spec for a notary which will used by the class MockNetwork to automatically start a notary node. This notary will
become part of the network parameters used by all the nodes.
class MockNetwork