ValueNode.BooleanNode, ValueNode.ClassNode, ValueNode.JsonNode, ValueNode.NullNode, ValueNode.NumberNode, ValueNode.PathNode, ValueNode.PatternNode, ValueNode.PredicateNode, ValueNode.StringNode, ValueNode.UndefinedNode, ValueNode.ValueListNode| Modifier and Type | Field and Description |
|---|---|
private boolean |
existsCheck |
private static org.slf4j.Logger |
logger |
private Path |
path |
private boolean |
shouldExist |
| Constructor and Description |
|---|
PathNode(java.lang.CharSequence charSequence,
boolean existsCheck,
boolean shouldExist) |
PathNode(Path path) |
PathNode(Path path,
boolean existsCheck,
boolean shouldExist) |
| Modifier and Type | Method and Description |
|---|---|
ValueNode.PathNode |
asExistsCheck(boolean shouldExist) |
ValueNode.PathNode |
asPathNode() |
ValueNode |
evaluate(Predicate.PredicateContext ctx) |
Path |
getPath() |
boolean |
isExistsCheck() |
boolean |
isPathNode() |
boolean |
shouldExists() |
java.lang.String |
toString() |
java.lang.Class<?> |
type(Predicate.PredicateContext ctx) |
asBooleanNode, asClassNode, asJsonNode, asNullNode, asNumberNode, asPatternNode, asPredicateNode, asStringNode, asUndefinedNode, asValueListNode, createBooleanNode, createClassNode, createJsonNode, createJsonNode, createNullNode, createNumberNode, createPathNode, createPathNode, createPatternNode, createPatternNode, createStringNode, createUndefinedNode, isBooleanNode, isClassNode, isJsonNode, isNullNode, isNumberNode, isPatternNode, isPredicateNode, isStringNode, isUndefinedNode, isValueListNode, toValueNodeprivate static final org.slf4j.Logger logger
private final Path path
private final boolean existsCheck
private final boolean shouldExist
PathNode(Path path)
PathNode(java.lang.CharSequence charSequence,
boolean existsCheck,
boolean shouldExist)
PathNode(Path path, boolean existsCheck, boolean shouldExist)
public Path getPath()
public boolean isExistsCheck()
public boolean shouldExists()
public java.lang.Class<?> type(Predicate.PredicateContext ctx)
public boolean isPathNode()
isPathNode in class ValueNodepublic ValueNode.PathNode asPathNode()
asPathNode in class ValueNodepublic ValueNode.PathNode asExistsCheck(boolean shouldExist)
public java.lang.String toString()
toString in class java.lang.Objectpublic ValueNode evaluate(Predicate.PredicateContext ctx)