Record Class AdapterConformanceResult
java.lang.Object
java.lang.Record
org.j7m.middleware.adapter.spi.AdapterConformanceResult
- Record Components:
scenarioId- scenario identifierpassed- whether the scenario passedunsupported- whether the scenario was explicitly unsupportedcompatibilityLevel- scenario compatibility levellimitations- safe limitation descriptionsevidence- safe evidence recordssafeMetadata- redacted metadata
public record AdapterConformanceResult(String scenarioId, boolean passed, boolean unsupported, AdapterCompatibilityLevel compatibilityLevel, List<String> limitations, List<AdapterEvidence> evidence, Map<String,String> safeMetadata)
extends Record
Public result for a conformance scenario.
The record is immutable and thread-safe. It gives reviewers the scenario result, limitation list, evidence, and redacted metadata without exposing raw adapter payloads, credentials, or vendor-specific internal responses.
-
Constructor Summary
ConstructorsConstructorDescriptionAdapterConformanceResult(String scenarioId, boolean passed, boolean unsupported, AdapterCompatibilityLevel compatibilityLevel, List<String> limitations, List<AdapterEvidence> evidence, Map<String, String> safeMetadata) Creates a conformance result. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thecompatibilityLevelrecord component.final booleanIndicates whether some other object is "equal to" this one.evidence()Returns the value of theevidencerecord component.final inthashCode()Returns a hash code value for this object.Returns the value of thelimitationsrecord component.booleanpassed()Returns the value of thepassedrecord component.Returns the value of thesafeMetadatarecord component.Returns the value of thescenarioIdrecord component.final StringtoString()Returns a string representation of this record class.booleanReturns the value of theunsupportedrecord component.
-
Constructor Details
-
AdapterConformanceResult
public AdapterConformanceResult(String scenarioId, boolean passed, boolean unsupported, AdapterCompatibilityLevel compatibilityLevel, List<String> limitations, List<AdapterEvidence> evidence, Map<String, String> safeMetadata) Creates a conformance result.
-
-
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. -
scenarioId
Returns the value of thescenarioIdrecord component.- Returns:
- the value of the
scenarioIdrecord component
-
passed
-
unsupported
public boolean unsupported()Returns the value of theunsupportedrecord component.- Returns:
- the value of the
unsupportedrecord component
-
compatibilityLevel
Returns the value of thecompatibilityLevelrecord component.- Returns:
- the value of the
compatibilityLevelrecord component
-
limitations
Returns the value of thelimitationsrecord component.- Returns:
- the value of the
limitationsrecord component
-
evidence
-
safeMetadata
Returns the value of thesafeMetadatarecord component.- Returns:
- the value of the
safeMetadatarecord component
-