Record Class DiagnosticDigestSummary
java.lang.Object
java.lang.Record
com.inductiveautomation.ignition.gateway.ai.DiagnosticDigestSummary
public record DiagnosticDigestSummary(String summary, DiagnosticDigestSummary.HealthStatus status)
extends Record
Result record produced by the page-load summary flow of the diagnostic-digest feature. Carries
the one-or-two-sentence health blurb that the front-end renders next to a green/red status pip,
plus the stoplight-style judgment itself.
This is the typed counterpart to DiagnosticDigestAnalysis: where the summary is cheap
to produce and shown immediately, the analysis is gated behind an operator click. Both are typed
via AgenticHarness.send(String, Class<T>).
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumStoplight-style overall judgment surfaced as a green/red pip in the UI. -
Constructor Summary
ConstructorsConstructorDescriptionDiagnosticDigestSummary(String summary, DiagnosticDigestSummary.HealthStatus status) Creates an instance of aDiagnosticDigestSummaryrecord 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.status()Returns the value of thestatusrecord component.summary()Returns the value of thesummaryrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
DiagnosticDigestSummary
Creates an instance of aDiagnosticDigestSummaryrecord class.- Parameters:
summary- the value for thesummaryrecord componentstatus- the value for thestatusrecord component
-
-
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). -
summary
Returns the value of thesummaryrecord component.- Returns:
- the value of the
summaryrecord component
-
status
Returns the value of thestatusrecord component.- Returns:
- the value of the
statusrecord component
-