Package io.jenkins.plugins.casc.yaml
Class YamlUtils
java.lang.Object
io.jenkins.plugins.casc.yaml.YamlUtils
- Author:
 - Nicolas De Loof
 
- 
Field Summary
Fields - 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionstatic MappingloadFrom(List<YamlSource> sources, ConfigurationContext context) Load configuration-as-code model from a set of Yaml sources, merging documentsstatic org.yaml.snakeyaml.nodes.Nodemerge(List<YamlSource> sources, ConfigurationContext context) static org.yaml.snakeyaml.nodes.Noderead(YamlSource source, Reader reader, ConfigurationContext context) static Readerreader(YamlSource<?> source)  
- 
Field Details
- 
LOGGER
 
 - 
 - 
Constructor Details
- 
YamlUtils
public YamlUtils() 
 - 
 - 
Method Details
- 
merge
public static org.yaml.snakeyaml.nodes.Node merge(List<YamlSource> sources, ConfigurationContext context) throws ConfiguratorException - Throws:
 ConfiguratorException
 - 
read
public static org.yaml.snakeyaml.nodes.Node read(YamlSource source, Reader reader, ConfigurationContext context) throws IOException - Throws:
 IOException
 - 
reader
- Throws:
 IOException
 - 
loadFrom
public static Mapping loadFrom(List<YamlSource> sources, ConfigurationContext context) throws ConfiguratorException Load configuration-as-code model from a set of Yaml sources, merging documents- Throws:
 ConfiguratorException
 
 -