Interface MergeStrategy

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      String getName()
      Name of the merge strategy which must be unique.
      void merge​(org.yaml.snakeyaml.nodes.Node firstNode, org.yaml.snakeyaml.nodes.Node secondNode, String source)
      Merge two nodes which come from two YAML files
    • Method Detail

      • merge

        void merge​(org.yaml.snakeyaml.nodes.Node firstNode,
                   org.yaml.snakeyaml.nodes.Node secondNode,
                   String source)
            throws ConfiguratorException
        Merge two nodes which come from two YAML files
        Parameters:
        firstNode - the first node of a node list
        secondNode - the second node of a node list
        source - is the source of node
        Throws:
        ConfiguratorException - if the merge fails
      • getName

        String getName()
        Name of the merge strategy which must be unique.
        Returns:
        name of the merge strategy