Package dev.dokimos.server.dto.v1
Record Class DiffView
java.lang.Object
java.lang.Record
dev.dokimos.server.dto.v1.DiffView
- Record Components:
summary- whole-run comparison summary (counts, pass rates, pairing)cases- the requested page of per-case rows after filtering and sorting
Combined per-case run-diff payload: the whole-run summary plus the first (or requested) page of
cases. The UI gets the summary counts and the case table in a single request. The comparison is
whole-run by nature (significance needs all paired items), so the summary always reflects the
full comparison while
cases is a paginated, filtered slice of it.-
Constructor Summary
ConstructorsConstructorDescriptionDiffView(DiffSummary summary, PageResponse<DiffCase> cases) Creates an instance of aDiffViewrecord class. -
Method Summary
Modifier and TypeMethodDescriptioncases()Returns the value of thecasesrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.summary()Returns the value of thesummaryrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
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). -
summary
Returns the value of thesummaryrecord component.- Returns:
- the value of the
summaryrecord component
-
cases
Returns the value of thecasesrecord component.- Returns:
- the value of the
casesrecord component
-