public abstract class AbstractYamlConfigBuilder extends Object
Constructor and Description |
---|
AbstractYamlConfigBuilder() |
Modifier and Type | Method and Description |
---|---|
protected abstract String |
getConfigRoot() |
protected Properties |
getProperties()
Gets the current used properties.
|
protected void |
importDocuments(com.hazelcast.internal.yaml.YamlNode imdgRoot)
Imports external YAML documents into the provided main YAML document.
|
protected void |
replaceVariables(Node node) |
protected void |
setPropertiesInternal(Properties properties) |
protected Properties getProperties()
setPropertiesInternal(Properties)
protected void importDocuments(com.hazelcast.internal.yaml.YamlNode imdgRoot) throws Exception
Since the YAML configuration uses mappings, in order to keep the
configuration defined in the main YAML document the imported
document (the source) will be actually merged into the main
document (the target). An example to it is defining one map in the
main document, and another map in the imported document. In this
case the documents should be merged to include both map configurations
under the root/map
node.
imdgRoot
- The root of the main YAML configuration documentException
- If a YAML document to be imported can't be loadedmerge(YamlNode, YamlNode)
protected abstract String getConfigRoot()
protected void setPropertiesInternal(Properties properties)
Copyright © 2023 Hazelcast, Inc.. All rights reserved.