Record Class AdapterEvidence
java.lang.Object
java.lang.Record
org.j7m.middleware.adapter.spi.AdapterEvidence
- Record Components:
key- stable evidence keysummary- human-readable safe summarysafeMetadata- redacted evidence metadata
public record AdapterEvidence(String key, String summary, Map<String,String> safeMetadata)
extends Record
Safe evidence record supporting an adapter compatibility decision.
The record is immutable and thread-safe. Evidence is designed for audit and review reports, not for replaying operations. Metadata is redacted and must not expose raw messages, artifacts, commands, credentials, private keys, or endpoint secrets.
-
Constructor Summary
Constructors -
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.key()Returns the value of thekeyrecord component.Returns the value of thesafeMetadatarecord component.summary()Returns the value of thesummaryrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
AdapterEvidence
-
-
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). -
key
-
summary
-
safeMetadata
Returns the value of thesafeMetadatarecord component.- Returns:
- the value of the
safeMetadatarecord component
-