Class AbstractLocalNodeConfig.AbstractLocalNodeConfigBuilder<C extends LocalNodeConfig<C,B>,B extends LocalNodeConfigBuilder<C,B>>

java.lang.Object
io.hotmoka.node.local.AbstractLocalNodeConfig.AbstractLocalNodeConfigBuilder<C,B>
Type Parameters:
C - the concrete type of the configuration
B - the concrete type of the builder
All Implemented Interfaces:
LocalNodeConfigBuilder<C,B>
Enclosing class:
AbstractLocalNodeConfig<C extends LocalNodeConfig<C,B>,B extends LocalNodeConfigBuilder<C,B>>

protected abstract static class AbstractLocalNodeConfig.AbstractLocalNodeConfigBuilder<C extends LocalNodeConfig<C,B>,B extends LocalNodeConfigBuilder<C,B>> extends Object
The builder of a configuration object.
  • Constructor Details

    • AbstractLocalNodeConfigBuilder

      protected AbstractLocalNodeConfigBuilder()
      Creates a builder with default values for the properties.
    • AbstractLocalNodeConfigBuilder

      protected AbstractLocalNodeConfigBuilder(com.moandjiezana.toml.Toml toml)
      Creates a builder by reading the properties of the given TOML file and sets them for the corresponding fields of this builder.
      Parameters:
      toml - the file
    • AbstractLocalNodeConfigBuilder

      protected AbstractLocalNodeConfigBuilder(LocalNodeConfig<C,B> config)
      Creates a builder with properties initialized to those of the given configuration object.
      Parameters:
      config - the configuration object