Record Class AdapterCompatibilityReport

java.lang.Object
java.lang.Record
org.j7m.middleware.adapter.spi.AdapterCompatibilityReport
Record Components:
adapterId - adapter provider identifier
adapterVersion - adapter implementation version
tckVersion - TCK version
semanticProfile - semantic profile under test
scenariosRun - scenario count
passed - passed scenario count
failed - failed scenario count
unsupported - unsupported scenario count
compatibilityLevel - overall compatibility level
limitations - safe limitation descriptions
securityFindings - safe security findings
failureModeFindings - safe failure-mode findings
redactionFindings - safe redaction findings
timestamp - report timestamp
deterministicSeed - deterministic seed used by the harness
safeMetadata - 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 Details

  • Method Details

    • toString

      public final String toString()
      Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components.
      Specified by:
      toString in class Record
      Returns:
      a string representation of this object
    • hashCode

      public final int hashCode()
      Returns a hash code value for this object. The value is derived from the hash code of each of the record components.
      Specified by:
      hashCode in class Record
      Returns:
      a hash code value for this object
    • equals

      public final boolean equals(Object o)
      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 with Objects::equals(Object,Object); primitive components are compared with the compare method from their corresponding wrapper classes.
      Specified by:
      equals in class Record
      Parameters:
      o - the object with which to compare
      Returns:
      true if this object is the same as the o argument; false otherwise.
    • adapterId

      public AdapterProviderId adapterId()
      Returns the value of the adapterId record component.
      Returns:
      the value of the adapterId record component
    • adapterVersion

      public String adapterVersion()
      Returns the value of the adapterVersion record component.
      Returns:
      the value of the adapterVersion record component
    • tckVersion

      public String tckVersion()
      Returns the value of the tckVersion record component.
      Returns:
      the value of the tckVersion record component
    • semanticProfile

      public AdapterSemanticProfile semanticProfile()
      Returns the value of the semanticProfile record component.
      Returns:
      the value of the semanticProfile record component
    • scenariosRun

      public int scenariosRun()
      Returns the value of the scenariosRun record component.
      Returns:
      the value of the scenariosRun record component
    • passed

      public int passed()
      Returns the value of the passed record component.
      Returns:
      the value of the passed record component
    • failed

      public int failed()
      Returns the value of the failed record component.
      Returns:
      the value of the failed record component
    • unsupported

      public int unsupported()
      Returns the value of the unsupported record component.
      Returns:
      the value of the unsupported record component
    • compatibilityLevel

      public AdapterCompatibilityLevel compatibilityLevel()
      Returns the value of the compatibilityLevel record component.
      Returns:
      the value of the compatibilityLevel record component
    • limitations

      public List<String> limitations()
      Returns the value of the limitations record component.
      Returns:
      the value of the limitations record component
    • securityFindings

      public List<String> securityFindings()
      Returns the value of the securityFindings record component.
      Returns:
      the value of the securityFindings record component
    • failureModeFindings

      public List<String> failureModeFindings()
      Returns the value of the failureModeFindings record component.
      Returns:
      the value of the failureModeFindings record component
    • redactionFindings

      public List<String> redactionFindings()
      Returns the value of the redactionFindings record component.
      Returns:
      the value of the redactionFindings record component
    • timestamp

      public Instant timestamp()
      Returns the value of the timestamp record component.
      Returns:
      the value of the timestamp record component
    • deterministicSeed

      public long deterministicSeed()
      Returns the value of the deterministicSeed record component.
      Returns:
      the value of the deterministicSeed record component
    • safeMetadata

      public Map<String,String> safeMetadata()
      Returns the value of the safeMetadata record component.
      Returns:
      the value of the safeMetadata record component