Record Class AdapterTckProfile
java.lang.Object
java.lang.Record
org.j7m.middleware.adapter.spi.AdapterTckProfile
- Record Components:
name- stable TCK profile namesemanticProfile- semantic profile under testscenarios- ordered immutable scenario list
public record AdapterTckProfile(String name, AdapterSemanticProfile semanticProfile, List<AdapterTckScenario> scenarios)
extends Record
Ordered set of TCK scenarios for one semantic profile.
The record is immutable and thread-safe. Scenario order is deterministic so reports are reproducible under the same TCK version and seed.
-
Constructor Summary
ConstructorsConstructorDescriptionAdapterTckProfile(String name, AdapterSemanticProfile semanticProfile, List<AdapterTckScenario> scenarios) Creates a TCK profile. -
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.name()Returns the value of thenamerecord component.Returns the value of thescenariosrecord component.Returns the value of thesemanticProfilerecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
AdapterTckProfile
public AdapterTckProfile(String name, AdapterSemanticProfile semanticProfile, List<AdapterTckScenario> scenarios) Creates a TCK profile.
-
-
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). -
name
-
semanticProfile
Returns the value of thesemanticProfilerecord component.- Returns:
- the value of the
semanticProfilerecord component
-
scenarios
-