Record Class CaptureControlFlowPreview
java.lang.Object
java.lang.Record
com.shaft.capture.generate.CaptureControlFlowPreview
- Record Components:
schemaVersion- preview schema versionsessionId- source Capture sessiondeterministicFingerprint- fingerprint of the deterministic source reviewed by the usersuggestions- deterministic control-flow suggestions
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionCaptureControlFlowPreview(String schemaVersion, String sessionId, String deterministicFingerprint, List<CaptureGenerationReport.ControlFlowSuggestion> suggestions) Creates an immutable preview. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thedeterministicFingerprintrecord 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 theschemaVersionrecord component.Returns the value of thesessionIdrecord component.Returns the value of thesuggestionsrecord component.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
CURRENT_SCHEMA_VERSION
- See Also:
-
-
Constructor Details
-
CaptureControlFlowPreview
public CaptureControlFlowPreview(String schemaVersion, String sessionId, String deterministicFingerprint, List<CaptureGenerationReport.ControlFlowSuggestion> suggestions) Creates an immutable preview.
-
-
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). -
schemaVersion
Returns the value of theschemaVersionrecord component.- Returns:
- the value of the
schemaVersionrecord component
-
sessionId
-
deterministicFingerprint
Returns the value of thedeterministicFingerprintrecord component.- Returns:
- the value of the
deterministicFingerprintrecord component
-
suggestions
Returns the value of thesuggestionsrecord component.- Returns:
- the value of the
suggestionsrecord component
-