Record Class ValidationResult
java.lang.Object
java.lang.Record
io.confluent.kafka.odyssey.ValidationResult
public record ValidationResult(ValidationContext validationContext, Set<String> passedValidation, Map<String, OdysseyResult> validationFailures)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionValidationResult(ValidationContext validationContext, Set<String> passedValidation, Map<String, OdysseyResult> validationFailures) Creates an instance of aValidationResultrecord class. -
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.Returns the value of thepassedValidationrecord component.request()io.confluent.kafka.schemaregistry.client.SchemaRegistryClientsrClient()List<org.apache.kafka.common.message.CreateTopicsRequestData.CreatableTopic> final StringtoString()Returns a string representation of this record class.Returns the value of thevalidationContextrecord component.Returns the value of thevalidationFailuresrecord component.
-
Constructor Details
-
ValidationResult
public ValidationResult(ValidationContext validationContext, Set<String> passedValidation, Map<String, OdysseyResult> validationFailures) Creates an instance of aValidationResultrecord class.- Parameters:
validationContext- the value for thevalidationContextrecord componentpassedValidation- the value for thepassedValidationrecord componentvalidationFailures- the value for thevalidationFailuresrecord component
-
-
Method Details
-
request
-
classification
-
namespace
-
srClient
public io.confluent.kafka.schemaregistry.client.SchemaRegistryClient srClient() -
topicsWithOdysseyConfigs
public List<org.apache.kafka.common.message.CreateTopicsRequestData.CreatableTopic> topicsWithOdysseyConfigs() -
extractedAssociations
-
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). -
validationContext
Returns the value of thevalidationContextrecord component.- Returns:
- the value of the
validationContextrecord component
-
passedValidation
-
validationFailures
Returns the value of thevalidationFailuresrecord component.- Returns:
- the value of the
validationFailuresrecord component
-