Class JsonNodeFileSource
java.lang.Object
com.arpnetworking.configuration.jackson.BaseJsonNodeSource
com.arpnetworking.configuration.jackson.JsonNodeFileSource
- All Implemented Interfaces:
JsonNodeSource
JsonNode based configuration sourced from a file.- Author:
- Ville Koskela (ville dot koskela at inscopemetrics dot com)
-
Nested Class Summary
Nested Classes -
Field Summary
Fields inherited from class com.arpnetworking.configuration.jackson.BaseJsonNodeSource
_objectMapper -
Method Summary
Modifier and TypeMethodDescriptionOptional<com.fasterxml.jackson.databind.JsonNode>Retrieve theJsonNodeby looking up the sequence of keys or returnOptional.empty()if any key in the sequence does not exist.Generate a Steno log compatible representation.Methods inherited from class com.arpnetworking.configuration.jackson.BaseJsonNodeSource
getValue, toString
-
Method Details
-
getValue
Description copied from interface:JsonNodeSourceRetrieve theJsonNodeby looking up the sequence of keys or returnOptional.empty()if any key in the sequence does not exist.- Parameters:
keys- The sequence of keys to look-up to find the value.- Returns:
- The
JsonNoderepresenting the value.
-
toLogValue
Description copied from class:BaseJsonNodeSourceGenerate a Steno log compatible representation.- Overrides:
toLogValuein classBaseJsonNodeSource- Returns:
- Steno log compatible representation.
-