Record Class DoctorAnalysisResult
java.lang.Object
java.lang.Record
com.shaft.doctor.model.DoctorAnalysisResult
- Record Components:
bundle- evidence bundlediagnosis- deterministic diagnosisbundlePath- written bundle JSON pathjsonReportPath- written machine-readable report pathmarkdownReportPath- written Markdown report path
-
Constructor Summary
ConstructorsConstructorDescriptionDoctorAnalysisResult(EvidenceBundle bundle, Diagnosis diagnosis, String bundlePath, String jsonReportPath, String markdownReportPath) Creates a complete analysis result. -
Method Summary
Modifier and TypeMethodDescriptionbundle()Returns the value of thebundlerecord component.Returns the value of thebundlePathrecord component.Returns the value of thediagnosisrecord 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 thejsonReportPathrecord component.Returns the value of themarkdownReportPathrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
DoctorAnalysisResult
public DoctorAnalysisResult(EvidenceBundle bundle, Diagnosis diagnosis, String bundlePath, String jsonReportPath, String markdownReportPath) Creates a complete analysis result.
-
-
Method Details
-
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). -
bundle
-
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
-