Module io.hotmoka.node.local
Package io.hotmoka.node.local
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 configurationB- 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 Summary
ConstructorsModifierConstructorDescriptionprotectedCreates a builder with default values for the properties.protectedAbstractLocalNodeConfigBuilder(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.protectedAbstractLocalNodeConfigBuilder(LocalNodeConfig<C, B> config) Creates a builder with properties initialized to those of the given configuration object. -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.hotmoka.node.local.api.LocalNodeConfigBuilder
build
-
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
Creates a builder with properties initialized to those of the given configuration object.- Parameters:
config- the configuration object
-