Package com.wavemaker.commons.util
Class WMYamlProcessor
- java.lang.Object
-
- org.springframework.beans.factory.config.YamlProcessor
-
- com.wavemaker.commons.util.DefaultYamlProcessor
-
- com.wavemaker.commons.util.WMYamlProcessor
-
public class WMYamlProcessor extends DefaultYamlProcessor
This class uses YamlProcessor overrides the DefaultYamlProcessor to convert the yaml resources to properties with property values having List, Set etc objects instead of [0],[1] etc. Example: servers: - dev.bar.com - foo.bar.com For the above yaml the generated property value will be a list of strings.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.springframework.beans.factory.config.YamlProcessor
org.springframework.beans.factory.config.YamlProcessor.DocumentMatcher, org.springframework.beans.factory.config.YamlProcessor.MatchCallback, org.springframework.beans.factory.config.YamlProcessor.MatchStatus, org.springframework.beans.factory.config.YamlProcessor.ResolutionMethod
-
-
Constructor Summary
Constructors Constructor Description WMYamlProcessor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidprocess(org.springframework.beans.factory.config.YamlProcessor.MatchCallback callback)-
Methods inherited from class com.wavemaker.commons.util.DefaultYamlProcessor
getProperties
-
-