Class AbstractNumberMatchResult
java.lang.Object
com.github.tomakehurst.wiremock.matching.MatchResult
com.github.tomakehurst.wiremock.matching.AbstractNumberMatchResult
- All Implemented Interfaces:
Comparable<MatchResult>
-
Nested Class Summary
Nested classes/interfaces inherited from class com.github.tomakehurst.wiremock.matching.MatchResult
MatchResult.DiffDescription -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static final floatprotected static final floatFields inherited from class com.github.tomakehurst.wiremock.matching.MatchResult
ARE_EXACT_MATCH -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondoublebooleanprotected abstract booleanisExactMatch(double expected, double actual) 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
-
Field Details
-
EXACT_MATCH
protected static final float EXACT_MATCH- See Also:
-
NO_MATCH
protected static final float NO_MATCH- See Also:
-
-
Constructor Details
-
AbstractNumberMatchResult
-
-
Method Details
-
isExactMatch
protected abstract boolean isExactMatch(double expected, double actual) -
isExactMatch
public boolean isExactMatch()- Specified by:
isExactMatchin classMatchResult
-
getDistance
public double getDistance()- Specified by:
getDistancein classMatchResult
-