Class NotPattern
- java.lang.Object
-
- com.github.tomakehurst.wiremock.matching.ContentPattern<java.lang.String>
-
- com.github.tomakehurst.wiremock.matching.StringValuePattern
-
- com.github.tomakehurst.wiremock.matching.NotPattern
-
- All Implemented Interfaces:
NamedValueMatcher<java.lang.String>
,ValueMatcher<java.lang.String>
public class NotPattern extends StringValuePattern
-
-
Field Summary
-
Fields inherited from class com.github.tomakehurst.wiremock.matching.ContentPattern
expectedValue
-
-
Constructor Summary
Constructors Constructor Description NotPattern(StringValuePattern unexpectedPattern)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringValuePattern
getNot()
MatchResult
match(java.lang.String value)
-
Methods inherited from class com.github.tomakehurst.wiremock.matching.StringValuePattern
and, equals, getExpected, getName, hashCode, isAbsent, isPresent, nullSafeIsAbsent, or, toString
-
Methods inherited from class com.github.tomakehurst.wiremock.matching.ContentPattern
getValue, isNullValuePermitted
-
-
-
-
Constructor Detail
-
NotPattern
public NotPattern(StringValuePattern unexpectedPattern)
-
-
Method Detail
-
getNot
public StringValuePattern getNot()
-
match
public MatchResult match(java.lang.String value)
-
-