Class JsonNodeMergingSource
java.lang.Object
com.arpnetworking.configuration.jackson.JsonNodeMergingSource
- All Implemented Interfaces:
JsonNodeSource
Json based configuration sourced by merging zero or more
JsonNodeSource
instances together.- Author:
- Ville Koskela (ville dot koskela at inscopemetrics dot io)
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final class
Builder
implementation forJsonNodeMergingSource
. -
Method Summary
Modifier and TypeMethodDescriptionOptional<com.fasterxml.jackson.databind.JsonNode>
Retrieve theJsonNode
by looking up the sequence of keys or returnOptional.empty()
if any key in the sequence does not exist.Generate a Steno log compatible representation.toString()
-
Method Details
-
getValue
Description copied from interface:JsonNodeSource
Retrieve theJsonNode
by looking up the sequence of keys or returnOptional.empty()
if any key in the sequence does not exist.- Specified by:
getValue
in interfaceJsonNodeSource
- Parameters:
keys
- The sequence of keys to look-up to find the value.- Returns:
- The
JsonNode
representing the value.
-
toLogValue
Generate a Steno log compatible representation.- Returns:
- Steno log compatible representation.
-
toString
-