Record Class AdapterReferenceOutcome
java.lang.Object
java.lang.Record
org.j7m.middleware.adapter.spi.AdapterReferenceOutcome
- Record Components:
operationId- identifier of the reference operationcompleted- whether the operation completed with the expected observable resultobservedDigest- safe digest of the observable resultsafeMetadata- redacted diagnostic metadata
public record AdapterReferenceOutcome(String operationId, boolean completed, String observedDigest, Map<String,String> safeMetadata)
extends Record
Observable outcome returned for one runner-owned reference operation.
The record is immutable and thread-safe. It contains only bounded,
redacted evidence suitable for compatibility reports. The
observedDigest must be derived from the operation actually executed by the
probe; the TCK runner compares it with its independently computed reference
digest and rejects results that are missing, reordered, duplicated, or
mismatched.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturns the value of thecompletedrecord 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 theobservedDigestrecord component.Returns the value of theoperationIdrecord component.Returns the value of thesafeMetadatarecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
AdapterReferenceOutcome
-
-
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. -
operationId
Returns the value of theoperationIdrecord component.- Returns:
- the value of the
operationIdrecord component
-
completed
-
observedDigest
Returns the value of theobservedDigestrecord component.- Returns:
- the value of the
observedDigestrecord component
-
safeMetadata
Returns the value of thesafeMetadatarecord component.- Returns:
- the value of the
safeMetadatarecord component
-