MockNetNotaryConfig
Keywords: net.corda.testing.node.MockNetNotaryConfig class
Date: 2023-09-18

net.corda.testing.node

## Class MockNetNotaryConfig

- net.corda.testing.node.MockNetNotaryConfig

-     public class MockNetNotaryConfig

  MockNetNotaryConfig can be used to configure a node to be a notary via the mock network API. Internally this will be translated into a NotaryConfiguration and passed to the respective node.

- - ### Constructor Detail

    - #### MockNetNotaryConfig

          public MockNetNotaryConfig(boolean validating,
                                     @Nullable
                                     com.typesafe.config.Config extraConfig,
                                     @Nullable
                                     java.lang.String className,
                                     @Nullable
                                     CordaX500Name serviceLegalName)

      MockNetNotaryConfig can be used to configure a node to be a notary via the mock network API. Internally this will be translated into a NotaryConfiguration and passed to the respective node.

  - ### Method Detail

    - #### getValidating

          public boolean getValidating()

    - #### getExtraConfig

          @Nullable
          public com.typesafe.config.Config getExtraConfig()

    - #### getClassName

          @Nullable
          public java.lang.String getClassName()

    - #### getServiceLegalName

          @Nullable
          public CordaX500Name getServiceLegalName()