Package io.vertigo.core.node.config.yaml
Class YamlNodeConfigBuilder
java.lang.Object
io.vertigo.core.node.config.yaml.YamlNodeConfigBuilder
- All Implemented Interfaces:
Builder<NodeConfig>
Builds the NodeConfig for the current node based on the provided YamlAppConfig.
- Author:
- mlaroche
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds and returns the final object.Appends Config of a set of modules.withLogConfig(LogConfig logConfig)
-
Constructor Details
-
YamlNodeConfigBuilder
-
-
Method Details
-
withFiles
Appends Config of a set of modules.- Parameters:
relativeRootClass- Class used to access files in a relative way.yamlFileNames- fileNames of the different yaml files- Returns:
- this builder
-
withLogConfig
- Parameters:
logConfig- Config of logs- Returns:
- this builder
-
build
Builds and returns the final object.- Specified by:
buildin interfaceBuilder<NodeConfig>- Returns:
- Built object
-