public static final class NodeConfiguration.Builder extends Object
| Modifier and Type | Method and Description |
|---|---|
NodeConfiguration |
build() |
NodeConfiguration.Builder |
with(String name)
Adds the module to the node configuration, with the default parameters.
|
NodeConfiguration.Builder |
with(String name,
Consumer<ModuleConfiguration.Builder> f)
Adds the given module to the node configuration.
|
NodeConfiguration.Builder |
with(String name,
ModuleConfiguration module)
Adds the given module to the node configuration.
|
public NodeConfiguration.Builder with(String name, ModuleConfiguration module)
public NodeConfiguration.Builder with(String name)
public NodeConfiguration.Builder with(String name, Consumer<ModuleConfiguration.Builder> f)
public NodeConfiguration build()