Record Class CaptureGenerationReport.ControlFlowSuggestion
java.lang.Object
java.lang.Record
com.shaft.capture.generate.CaptureGenerationReport.ControlFlowSuggestion
- Record Components:
id- stable suggestion identifierkind- suggestion kindevidenceIds- related capture events or checkpointssummary- safe suggestion summaryrecommendation- deterministic remediationapplied- whether generation applied this suggestion
- Enclosing class:
CaptureGenerationReport
-
Constructor Summary
ConstructorsConstructorDescriptionControlFlowSuggestion(String id, CaptureGenerationReport.ControlFlowKind kind, List<String> evidenceIds, String summary, String recommendation, boolean applied) Creates an immutable suggestion. -
Method Summary
Modifier and TypeMethodDescriptionbooleanapplied()Returns the value of theappliedrecord component.final booleanIndicates whether some other object is "equal to" this one.Returns the value of theevidenceIdsrecord component.final inthashCode()Returns a hash code value for this object.id()Returns the value of theidrecord component.kind()Returns the value of thekindrecord component.Returns the value of therecommendationrecord component.summary()Returns the value of thesummaryrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
ControlFlowSuggestion
-
-
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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with thecomparemethod from their corresponding wrapper classes. -
id
-
kind
-
evidenceIds
Returns the value of theevidenceIdsrecord component.- Returns:
- the value of the
evidenceIdsrecord component
-
summary
-
recommendation
Returns the value of therecommendationrecord component.- Returns:
- the value of the
recommendationrecord component
-
applied
-