public abstract class PathPattern extends StringValuePattern
Modifier and Type | Field and Description |
---|---|
protected StringValuePattern |
valuePattern |
ABSENT
expectedValue
Modifier | Constructor and Description |
---|---|
protected |
PathPattern(java.lang.String expectedValue,
StringValuePattern valuePattern) |
Modifier and Type | Method and Description |
---|---|
StringValuePattern |
getValuePattern() |
protected abstract MatchResult |
isAdvancedJsonPathMatch(java.lang.String value) |
boolean |
isSimple() |
protected abstract MatchResult |
isSimpleJsonPathMatch(java.lang.String value) |
MatchResult |
match(java.lang.String value) |
equals, getExpected, getName, hashCode, isAbsent, isPresent, nullSafeIsAbsent, toString
getValue
protected final StringValuePattern valuePattern
protected PathPattern(java.lang.String expectedValue, StringValuePattern valuePattern)
public StringValuePattern getValuePattern()
public boolean isSimple()
public MatchResult match(java.lang.String value)
protected abstract MatchResult isSimpleJsonPathMatch(java.lang.String value)
protected abstract MatchResult isAdvancedJsonPathMatch(java.lang.String value)