Class JsonNodeUpdater
java.lang.Object
org.sentrysoftware.maven.metricshub.connector.parser.JsonNodeUpdater
This utility class traverses a JsonNode, applying updates according to an
updater function and a predicate that determines whether the value should be
updated.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
update()
Traverse the current JsonNode, applying the updater to each JsonNode child when the predicate evaluates to true, indicating that the value should be updated.
-
Constructor Details
-
JsonNodeUpdater
public JsonNodeUpdater()
-
-
Method Details
-
update
public void update()Traverse the current JsonNode, applying the updater to each JsonNode child when the predicate evaluates to true, indicating that the value should be updated.
-