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 net.corda.core.identity.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 net.corda.core.identity.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 MockNetwork
public MockNetworkNotarySpec(@NotNull net.corda.core.identity.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 net.corda.core.identity.CordaX500Name getName()
The name of the notary node.
public boolean getValidating()
Boolean for whether the notary is validating or non-validating.
@NotNull public net.corda.core.identity.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 net.corda.core.identity.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 MockNetwork
public 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 MockNetwork
public 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