Record Class DoctorAnalysisSummary
java.lang.Object
java.lang.Record
com.shaft.doctor.model.DoctorAnalysisSummary
- Record Components:
bundleId- evidence bundle identifierevidenceItemCount- retained evidence item countomittedItemCount- evidence items omitted by policy or limitsdiagnosis- deterministic diagnosisbundlePath- written bundle pathjsonReportPath- written JSON report pathmarkdownReportPath- written Markdown report path
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbundleId()Returns the value of thebundleIdrecord component.Returns the value of thebundlePathrecord component.Returns the value of thediagnosisrecord component.final booleanIndicates whether some other object is "equal to" this one.intReturns the value of theevidenceItemCountrecord component.static DoctorAnalysisSummaryfrom(DoctorAnalysisResult result) Creates a safe summary from a complete local result.final inthashCode()Returns a hash code value for this object.Returns the value of thejsonReportPathrecord component.Returns the value of themarkdownReportPathrecord component.intReturns the value of theomittedItemCountrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
DoctorAnalysisSummary
-
-
Method Details
-
from
Creates a safe summary from a complete local result.- Parameters:
result- complete local result- Returns:
- content-free summary
-
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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with thecomparemethod from their corresponding wrapper classes. -
bundleId
-
evidenceItemCount
public int evidenceItemCount()Returns the value of theevidenceItemCountrecord component.- Returns:
- the value of the
evidenceItemCountrecord component
-
omittedItemCount
public int omittedItemCount()Returns the value of theomittedItemCountrecord component.- Returns:
- the value of the
omittedItemCountrecord component
-
diagnosis
-
bundlePath
Returns the value of thebundlePathrecord component.- Returns:
- the value of the
bundlePathrecord component
-
jsonReportPath
Returns the value of thejsonReportPathrecord component.- Returns:
- the value of the
jsonReportPathrecord component
-
markdownReportPath
Returns the value of themarkdownReportPathrecord component.- Returns:
- the value of the
markdownReportPathrecord component
-