Record Class AdapterCompatibilityReport
java.lang.Object
java.lang.Record
org.j7m.middleware.adapter.spi.AdapterCompatibilityReport
- Record Components:
adapterId- adapter provider identifieradapterVersion- adapter implementation versiontckVersion- TCK versionsemanticProfile- semantic profile under testscenariosRun- scenario countpassed- passed scenario countfailed- failed scenario countunsupported- unsupported scenario countcompatibilityLevel- overall compatibility levellimitations- safe limitation descriptionssecurityFindings- safe security findingsfailureModeFindings- safe failure-mode findingsredactionFindings- safe redaction findingstimestamp- report timestampdeterministicSeed- deterministic seed used by the harnesssafeMetadata- redacted report metadata
public record AdapterCompatibilityReport(AdapterProviderId adapterId, String adapterVersion, String tckVersion, AdapterSemanticProfile semanticProfile, int scenariosRun, int passed, int failed, int unsupported, AdapterCompatibilityLevel compatibilityLevel, List<String> limitations, List<String> securityFindings, List<String> failureModeFindings, List<String> redactionFindings, Instant timestamp, long deterministicSeed, Map<String,String> safeMetadata)
extends Record
Evidence-backed compatibility report for an adapter and semantic profile.
The record is immutable and thread-safe. It is the primary handoff between the TCK and adapter maintainers. Counts, compatibility level, limitations, security findings, failure-mode findings, redaction findings, timestamp, and deterministic seed are explicit so unsupported semantics cannot be silently upgraded to a passing result.
-
Constructor Summary
ConstructorsConstructorDescriptionAdapterCompatibilityReport(AdapterProviderId adapterId, String adapterVersion, String tckVersion, AdapterSemanticProfile semanticProfile, int scenariosRun, int passed, int failed, int unsupported, AdapterCompatibilityLevel compatibilityLevel, List<String> limitations, List<String> securityFindings, List<String> failureModeFindings, List<String> redactionFindings, Instant timestamp, long deterministicSeed, Map<String, String> safeMetadata) Creates an adapter compatibility report. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theadapterIdrecord component.Returns the value of theadapterVersionrecord component.Returns the value of thecompatibilityLevelrecord component.longReturns the value of thedeterministicSeedrecord component.final booleanIndicates whether some other object is "equal to" this one.intfailed()Returns the value of thefailedrecord component.Returns the value of thefailureModeFindingsrecord component.final inthashCode()Returns a hash code value for this object.Returns the value of thelimitationsrecord component.intpassed()Returns the value of thepassedrecord component.Returns the value of theredactionFindingsrecord component.Returns the value of thesafeMetadatarecord component.intReturns the value of thescenariosRunrecord component.Returns the value of thesecurityFindingsrecord component.Returns the value of thesemanticProfilerecord component.Returns the value of thetckVersionrecord component.Returns the value of thetimestamprecord component.final StringtoString()Returns a string representation of this record class.intReturns the value of theunsupportedrecord component.
-
Constructor Details
-
AdapterCompatibilityReport
public AdapterCompatibilityReport(AdapterProviderId adapterId, String adapterVersion, String tckVersion, AdapterSemanticProfile semanticProfile, int scenariosRun, int passed, int failed, int unsupported, AdapterCompatibilityLevel compatibilityLevel, List<String> limitations, List<String> securityFindings, List<String> failureModeFindings, List<String> redactionFindings, Instant timestamp, long deterministicSeed, Map<String, String> safeMetadata) Creates an adapter compatibility report.
-
-
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. -
adapterId
-
adapterVersion
Returns the value of theadapterVersionrecord component.- Returns:
- the value of the
adapterVersionrecord component
-
tckVersion
Returns the value of thetckVersionrecord component.- Returns:
- the value of the
tckVersionrecord component
-
semanticProfile
Returns the value of thesemanticProfilerecord component.- Returns:
- the value of the
semanticProfilerecord component
-
scenariosRun
public int scenariosRun()Returns the value of thescenariosRunrecord component.- Returns:
- the value of the
scenariosRunrecord component
-
passed
-
failed
-
unsupported
public int 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
-
securityFindings
Returns the value of thesecurityFindingsrecord component.- Returns:
- the value of the
securityFindingsrecord component
-
failureModeFindings
Returns the value of thefailureModeFindingsrecord component.- Returns:
- the value of the
failureModeFindingsrecord component
-
redactionFindings
Returns the value of theredactionFindingsrecord component.- Returns:
- the value of the
redactionFindingsrecord component
-
timestamp
-
deterministicSeed
public long deterministicSeed()Returns the value of thedeterministicSeedrecord component.- Returns:
- the value of the
deterministicSeedrecord component
-
safeMetadata
Returns the value of thesafeMetadatarecord component.- Returns:
- the value of the
safeMetadatarecord component
-