Class AbstractLogicalMatcher
- java.lang.Object
-
- com.github.tomakehurst.wiremock.matching.ContentPattern<java.lang.String>
-
- com.github.tomakehurst.wiremock.matching.StringValuePattern
-
- com.github.tomakehurst.wiremock.matching.AbstractLogicalMatcher
-
- All Implemented Interfaces:
NamedValueMatcher<java.lang.String>,ValueMatcher<java.lang.String>
- Direct Known Subclasses:
LogicalAnd,LogicalOr
public abstract class AbstractLogicalMatcher extends StringValuePattern
-
-
Field Summary
Fields Modifier and Type Field Description protected java.util.List<StringValuePattern>operands-
Fields inherited from class com.github.tomakehurst.wiremock.matching.ContentPattern
expectedValue
-
-
Constructor Summary
Constructors Constructor Description AbstractLogicalMatcher(StringValuePattern... operands)AbstractLogicalMatcher(java.util.List<StringValuePattern> operands)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetExpected()protected abstract java.lang.StringgetOperationName()-
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
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface com.github.tomakehurst.wiremock.matching.ValueMatcher
match
-
-
-
-
Field Detail
-
operands
protected final java.util.List<StringValuePattern> operands
-
-
Constructor Detail
-
AbstractLogicalMatcher
public AbstractLogicalMatcher(StringValuePattern... operands)
-
AbstractLogicalMatcher
public AbstractLogicalMatcher(java.util.List<StringValuePattern> operands)
-
-
Method Detail
-
getExpected
public java.lang.String getExpected()
- Specified by:
getExpectedin interfaceNamedValueMatcher<java.lang.String>- Overrides:
getExpectedin classStringValuePattern
-
getOperationName
protected abstract java.lang.String getOperationName()
-
-