Record Class ResultReport
java.lang.Object
java.lang.Record
dev.archunitjava.report.ResultReport
Immutable, deterministically ordered results from one architecture evaluation.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionResultReport(String schemaVersion, List<RuleResult> results) Creates an instance of aResultReportrecord 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.static ResultReportof(Collection<RuleResult> results) results()Returns the value of theresultsrecord component.Returns the value of theschemaVersionrecord component.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
CURRENT_SCHEMA_VERSION
- See Also:
-
-
Constructor Details
-
ResultReport
Creates an instance of aResultReportrecord class.- Parameters:
schemaVersion- the value for theschemaVersionrecord componentresults- the value for theresultsrecord component
-
-
Method Details
-
of
-
toString
-
hashCode
-
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). -
schemaVersion
Returns the value of theschemaVersionrecord component.- Returns:
- the value of the
schemaVersionrecord component
-
results
Returns the value of theresultsrecord component.- Returns:
- the value of the
resultsrecord component
-