Class LogicalAnd
- java.lang.Object
-
- com.github.tomakehurst.wiremock.matching.ContentPattern<java.lang.String>
-
- com.github.tomakehurst.wiremock.matching.StringValuePattern
-
- com.github.tomakehurst.wiremock.matching.AbstractLogicalMatcher
-
- com.github.tomakehurst.wiremock.matching.LogicalAnd
-
- All Implemented Interfaces:
NamedValueMatcher<java.lang.String>,ValueMatcher<java.lang.String>
public class LogicalAnd extends AbstractLogicalMatcher
-
-
Field Summary
-
Fields inherited from class com.github.tomakehurst.wiremock.matching.AbstractLogicalMatcher
operands
-
Fields inherited from class com.github.tomakehurst.wiremock.matching.ContentPattern
expectedValue
-
-
Constructor Summary
Constructors Constructor Description LogicalAnd(StringValuePattern... operands)LogicalAnd(java.util.List<StringValuePattern> operands)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<StringValuePattern>getAnd()protected java.lang.StringgetOperationName()MatchResultmatch(java.lang.String value)-
Methods inherited from class com.github.tomakehurst.wiremock.matching.AbstractLogicalMatcher
getExpected
-
Methods inherited from class com.github.tomakehurst.wiremock.matching.StringValuePattern
and, equals, getName, hashCode, isAbsent, isPresent, nullSafeIsAbsent, or, toString
-
Methods inherited from class com.github.tomakehurst.wiremock.matching.ContentPattern
getValue, isNullValuePermitted
-
-
-
-
Constructor Detail
-
LogicalAnd
public LogicalAnd(StringValuePattern... operands)
-
LogicalAnd
public LogicalAnd(java.util.List<StringValuePattern> operands)
-
-
Method Detail
-
getOperationName
protected java.lang.String getOperationName()
- Specified by:
getOperationNamein classAbstractLogicalMatcher
-
getAnd
public java.util.List<StringValuePattern> getAnd()
-
match
public MatchResult match(java.lang.String value)
-
-