Class MatchResult
java.lang.Object
com.github.tomakehurst.wiremock.matching.MatchResult
- All Implemented Interfaces:
Comparable<MatchResult>
- Direct Known Subclasses:
AbstractDateTimeMatchResult
,EagerMatchResult
,MemoizingMatchResult
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final com.google.common.base.Predicate<WeightedMatchResult>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic MatchResult
aggregate
(MatchResult... matches) static MatchResult
aggregate
(List<MatchResult> matchResults) static MatchResult
aggregateWeighted
(WeightedMatchResult... matchResults) static MatchResult
aggregateWeighted
(List<WeightedMatchResult> matchResults) int
compareTo
(MatchResult other) static MatchResult
abstract double
abstract boolean
static MatchResult
noMatch()
static MatchResult
of
(boolean isMatch) static MatchResult
partialMatch
(double distance)
-
Field Details
-
ARE_EXACT_MATCH
-
-
Constructor Details
-
MatchResult
public MatchResult()
-
-
Method Details
-
partialMatch
-
exactMatch
-
noMatch
-
of
-
aggregate
-
aggregate
-
aggregateWeighted
-
aggregateWeighted
-
isExactMatch
public abstract boolean isExactMatch() -
getDistance
public abstract double getDistance() -
compareTo
- Specified by:
compareTo
in interfaceComparable<MatchResult>
-