Record Class AdapterReferenceOperation
java.lang.Object
java.lang.Record
org.j7m.middleware.adapter.spi.AdapterReferenceOperation
- Record Components:
operationId- stable operation identifier within one scenariocapability- capability exercised by the operationpayload- safe deterministic operation payload
public record AdapterReferenceOperation(String operationId, AdapterCapability capability, String payload)
extends Record
Deterministic reference operation issued by the adapter TCK runner.
The record is immutable and thread-safe. A reference operation is a
vendor-neutral probe workload owned by the TCK runner, not by the adapter
under test. The operation payload is safe diagnostic text and is not a raw
application message, artifact, credential, or endpoint. Probe
implementations execute the operation according to the selected semantic
profile and return an AdapterReferenceOutcome; the runner
independently verifies the observable digest before accepting a scenario
pass.
-
Constructor Summary
ConstructorsConstructorDescriptionAdapterReferenceOperation(String operationId, AdapterCapability capability, String payload) Creates a reference operation. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thecapabilityrecord 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 theoperationIdrecord component.payload()Returns the value of thepayloadrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
AdapterReferenceOperation
Creates a reference operation.
-
-
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). -
operationId
Returns the value of theoperationIdrecord component.- Returns:
- the value of the
operationIdrecord component
-
capability
Returns the value of thecapabilityrecord component.- Returns:
- the value of the
capabilityrecord component
-
payload
-