Record Class CaptureEnrichmentPreview
java.lang.Object
java.lang.Record
com.shaft.capture.generate.CaptureEnrichmentPreview
- Record Components:
schemaVersion- preview schema versiondeterministicFingerprint- fingerprint of the deterministic source and sessionprovider- provider identifierproposal- schema-validated proposaldiff- visible proposed changes
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final recordAdditional assertion bound to captured element state.static final recordOptional source naming and assertion suggestions. -
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionCaptureEnrichmentPreview(String schemaVersion, String deterministicFingerprint, String provider, CaptureEnrichmentPreview.Proposal proposal, List<String> diff) Creates an immutable preview. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thedeterministicFingerprintrecord component.diff()Returns the value of thediffrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.proposal()Returns the value of theproposalrecord component.provider()Returns the value of theproviderrecord component.Returns the value of theschemaVersionrecord component.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
CURRENT_SCHEMA_VERSION
- See Also:
-
-
Constructor Details
-
CaptureEnrichmentPreview
-
-
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
-
deterministicFingerprint
Returns the value of thedeterministicFingerprintrecord component.- Returns:
- the value of the
deterministicFingerprintrecord component
-
provider
-
proposal
-
diff
-