public class NodePath extends Object
| Modifier and Type | Method and Description |
|---|---|
List<com.hotels.styx.infrastructure.configuration.yaml.PathElement> |
elements() |
Optional<com.fasterxml.jackson.databind.JsonNode> |
findMatchingDescendant(com.fasterxml.jackson.databind.JsonNode rootNode) |
com.hotels.styx.infrastructure.configuration.yaml.PathElement |
lastElement() |
boolean |
override(com.fasterxml.jackson.databind.JsonNode rootNode,
com.fasterxml.jackson.databind.JsonNode leaf) |
boolean |
override(com.fasterxml.jackson.databind.JsonNode rootNode,
String value) |
String |
toString() |
public NodePath(String path)
public List<com.hotels.styx.infrastructure.configuration.yaml.PathElement> elements()
public com.hotels.styx.infrastructure.configuration.yaml.PathElement lastElement()
public Optional<com.fasterxml.jackson.databind.JsonNode> findMatchingDescendant(com.fasterxml.jackson.databind.JsonNode rootNode)
public boolean override(com.fasterxml.jackson.databind.JsonNode rootNode,
com.fasterxml.jackson.databind.JsonNode leaf)
public boolean override(com.fasterxml.jackson.databind.JsonNode rootNode,
String value)
Copyright © 2013–2020 Hotels.com. All rights reserved.