Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 2 of 2 for replaceValueTextByKeyValue (0.11 seconds)

  1. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/rest/compat/RestCompatTestTransformTask.java

         *
         * @param key      the key to find
         * @param oldValue the value of that key to find
         * @param newValue the value used in the replacement
         */
        public void replaceValueTextByKeyValue(String key, String oldValue, Object newValue) {
            transformations.add(new ReplaceTextual(key, oldValue, MAPPER.convertValue(newValue, TextNode.class)));
        }
    
        /**
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Thu Sep 30 16:30:48 GMT 2021
    - 22.3K bytes
    - Click Count (0)
  2. build-tools-internal/src/integTest/groovy/org/elasticsearch/gradle/internal/test/rest/YamlRestCompatTestPluginFuncTest.groovy

                  task.replaceValueInLength("value_to_replace", 99, "one")
                  task.replaceValueTextByKeyValue("keyvalue", "toreplace", "replacedkeyvalue")
                  task.replaceValueTextByKeyValue("index", "test", "test2", "two")
                })
                // can't actually spin up test cluster from this test
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Thu Sep 30 16:30:48 GMT 2021
    - 16.4K bytes
    - Click Count (0)
Back to Top