Class 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 void process​(org.springframework.beans.factory.config.YamlProcessor.MatchCallback callback)  
      • Methods inherited from class org.springframework.beans.factory.config.YamlProcessor

        createYaml, getFlattenedMap, setDocumentMatchers, setMatchDefault, setResolutionMethod, setResources, setSupportedTypes
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • WMYamlProcessor

        public WMYamlProcessor()
    • Method Detail

      • process

        protected void process​(org.springframework.beans.factory.config.YamlProcessor.MatchCallback callback)
        Overrides:
        process in class org.springframework.beans.factory.config.YamlProcessor