public class RegexStringMatcher extends BodyMatcher<NottableString>
Constructor and Description |
---|
RegexStringMatcher(MockServerLogger mockServerLogger,
boolean controlPlaneMatcher) |
Modifier and Type | Method and Description |
---|---|
protected String[] |
fieldsExcludedFromEqualsAndHashCode() |
boolean |
isBlank() |
boolean |
matches(MatchDifference context,
NottableString matched) |
boolean |
matches(MockServerLogger mockServerLogger,
MatchDifference context,
NottableString matcher,
NottableString matched) |
boolean |
matches(NottableString matcher,
NottableString matched) |
boolean |
matches(String matched) |
notMatcher
equals, hashCode, toString
public RegexStringMatcher(MockServerLogger mockServerLogger, boolean controlPlaneMatcher)
public boolean matches(String matched)
public boolean matches(MatchDifference context, NottableString matched)
public boolean matches(NottableString matcher, NottableString matched)
public boolean matches(MockServerLogger mockServerLogger, MatchDifference context, NottableString matcher, NottableString matched)
public boolean isBlank()
protected String[] fieldsExcludedFromEqualsAndHashCode()
fieldsExcludedFromEqualsAndHashCode
in class ObjectWithReflectiveEqualsHashCodeToString
Copyright © 2022. All rights reserved.