Class IncludeConstruct

  • All Implemented Interfaces:
    org.yaml.snakeyaml.constructor.Construct

    public class IncludeConstruct
    extends org.yaml.snakeyaml.constructor.AbstractConstruct
    This extension to SnakeYaml allows to merge yaml files, e.g.:
       example: !include other.yaml
     
    This construct will follow the relative include based on the parent Yaml file, and will transform the result to the matching Protobuf representation. No other classes are allowed.
    • Method Detail

      • construct

        public Object construct​(org.yaml.snakeyaml.nodes.Node node)