Record Class CoverageMapStore.CoverageMap
java.lang.Object
java.lang.Record
io.github.mov2day.unifiedtest.intelligence.CoverageMapStore.CoverageMap
- Enclosing class:
CoverageMapStore
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturns the value of thecompleteCoveragerecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of theinventoryFingerprintrecord component.Returns the value of theproductionToTestsrecord component.Returns the value of thetestTasksByClassrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
CoverageMap
public CoverageMap(String inventoryFingerprint, Map<String, Set<String>> productionToTests, Map<String, Set<String>> testTasksByClass, boolean completeCoverage) Creates an instance of aCoverageMaprecord class.- Parameters:
inventoryFingerprint- the value for theinventoryFingerprintrecord componentproductionToTests- the value for theproductionToTestsrecord componenttestTasksByClass- the value for thetestTasksByClassrecord componentcompleteCoverage- the value for thecompleteCoveragerecord component
-
-
Method Details
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with '=='. -
inventoryFingerprint
Returns the value of theinventoryFingerprintrecord component.- Returns:
- the value of the
inventoryFingerprintrecord component
-
productionToTests
Returns the value of theproductionToTestsrecord component.- Returns:
- the value of the
productionToTestsrecord component
-
testTasksByClass
Returns the value of thetestTasksByClassrecord component.- Returns:
- the value of the
testTasksByClassrecord component
-
completeCoverage
public boolean completeCoverage()Returns the value of thecompleteCoveragerecord component.- Returns:
- the value of the
completeCoveragerecord component
-