public class ObjectHasKeyMatcher extends Object
PathMatcher.MatchResult
Constructor and Description |
---|
ObjectHasKeyMatcher(String key) |
Modifier and Type | Method and Description |
---|---|
PathMatcher.MatchResult |
matches(ParseEvent event) |
protected PathMatcher.MatchResult |
matchesObject(ParseEvent event) |
Predicate<Path> |
needsKeyCollection() |
Predicate<Path> |
needsObjectCollection() |
String |
toString() |
public ObjectHasKeyMatcher(String key)
protected PathMatcher.MatchResult matchesObject(ParseEvent event)
public final PathMatcher.MatchResult matches(ParseEvent event)
matches
in interface PathMatcher
event
- The event to matchCopyright © 2021. All rights reserved.