Record Class CoverageMapStore.ProfileReport
java.lang.Object
java.lang.Record
io.github.mov2day.unifiedtest.intelligence.CoverageMapStore.ProfileReport
- Enclosing class:
CoverageMapStore
-
Constructor Summary
ConstructorsConstructorDescriptionProfileReport(String testClass, String testTaskName, Path xmlFile, Path testResultsDirectory) Creates an instance of aProfileReportrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of thetestClassrecord component.Returns the value of thetestResultsDirectoryrecord component.Returns the value of thetestTaskNamerecord component.final StringtoString()Returns a string representation of this record class.xmlFile()Returns the value of thexmlFilerecord component.
-
Constructor Details
-
ProfileReport
public ProfileReport(String testClass, String testTaskName, Path xmlFile, Path testResultsDirectory) Creates an instance of aProfileReportrecord class.- Parameters:
testClass- the value for thetestClassrecord componenttestTaskName- the value for thetestTaskNamerecord componentxmlFile- the value for thexmlFilerecord componenttestResultsDirectory- the value for thetestResultsDirectoryrecord 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. All components in this record class are compared withObjects::equals(Object,Object). -
testClass
Returns the value of thetestClassrecord component.- Returns:
- the value of the
testClassrecord component
-
testTaskName
Returns the value of thetestTaskNamerecord component.- Returns:
- the value of the
testTaskNamerecord component
-
xmlFile
Returns the value of thexmlFilerecord component.- Returns:
- the value of the
xmlFilerecord component
-
testResultsDirectory
Returns the value of thetestResultsDirectoryrecord component.- Returns:
- the value of the
testResultsDirectoryrecord component
-