Class WeightedAggregateMatchResult
- java.lang.Object
-
- com.github.tomakehurst.wiremock.matching.MatchResult
-
- com.github.tomakehurst.wiremock.matching.WeightedAggregateMatchResult
-
- All Implemented Interfaces:
java.lang.Comparable<MatchResult>
public class WeightedAggregateMatchResult 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 WeightedAggregateMatchResult(java.util.List<WeightedMatchResult> matchResults)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<MatchResult.DiffDescription>getDiffDescriptions()doublegetDistance()java.util.List<SubEvent>getSubEvents()booleanisExactMatch()-
Methods inherited from class com.github.tomakehurst.wiremock.matching.MatchResult
aggregate, aggregate, aggregateWeighted, aggregateWeighted, appendSubEvent, compareTo, exactMatch, exactMatch, noMatch, noMatch, of, of, partialMatch, partialMatch, partialMatch
-
-
-
-
Constructor Detail
-
WeightedAggregateMatchResult
public WeightedAggregateMatchResult(java.util.List<WeightedMatchResult> matchResults)
-
-
Method Detail
-
isExactMatch
public boolean isExactMatch()
- Specified by:
isExactMatchin classMatchResult
-
getDistance
public double getDistance()
- Specified by:
getDistancein classMatchResult
-
getSubEvents
public java.util.List<SubEvent> getSubEvents()
- Overrides:
getSubEventsin classMatchResult
-
getDiffDescriptions
public java.util.List<MatchResult.DiffDescription> getDiffDescriptions()
- Overrides:
getDiffDescriptionsin classMatchResult
-
-