Class EagerMatchResult
- java.lang.Object
-
- com.github.tomakehurst.wiremock.matching.MatchResult
-
- com.github.tomakehurst.wiremock.matching.EagerMatchResult
-
- All Implemented Interfaces:
java.lang.Comparable<MatchResult>
public class EagerMatchResult extends MatchResult
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.github.tomakehurst.wiremock.matching.MatchResult
MatchResult.DiffDescription
-
-
Field Summary
-
Fields inherited from class com.github.tomakehurst.wiremock.matching.MatchResult
ARE_EXACT_MATCH
-
-
Constructor Summary
Constructors Constructor Description EagerMatchResult(double distance, java.util.List<SubEvent> subEvents, java.util.List<MatchResult.DiffDescription> diffDescriptions)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description doublegetDistance()booleanisExactMatch()-
Methods inherited from class com.github.tomakehurst.wiremock.matching.MatchResult
aggregate, aggregate, aggregateWeighted, aggregateWeighted, appendSubEvent, compareTo, exactMatch, exactMatch, getDiffDescriptions, getSubEvents, noMatch, noMatch, of, of, partialMatch, partialMatch, partialMatch
-
-
-
-
Constructor Detail
-
EagerMatchResult
public EagerMatchResult(double distance, java.util.List<SubEvent> subEvents, java.util.List<MatchResult.DiffDescription> diffDescriptions)
-
-
Method Detail
-
getDistance
public double getDistance()
- Specified by:
getDistancein classMatchResult
-
isExactMatch
public boolean isExactMatch()
- Specified by:
isExactMatchin classMatchResult
-
-