Class KafkaConnectContentValidator
java.lang.Object
io.apicurio.registry.rules.validity.KafkaConnectContentValidator
- All Implemented Interfaces:
ContentValidator
A content validator implementation for the Kafka Connect schema content type.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvalidate(ValidityLevel level, TypedContent content, Map<String, TypedContent> resolvedReferences) voidvalidateReferences(TypedContent content, List<io.apicurio.registry.rest.v3.beans.ArtifactReference> references)
-
Constructor Details
-
KafkaConnectContentValidator
public KafkaConnectContentValidator()Constructor.
-
-
Method Details
-
validate
public void validate(ValidityLevel level, TypedContent content, Map<String, TypedContent> resolvedReferences) throws RuleViolationException- Specified by:
validatein interfaceContentValidator- Throws:
RuleViolationException- See Also:
-
validateReferences
public void validateReferences(TypedContent content, List<io.apicurio.registry.rest.v3.beans.ArtifactReference> references) throws RuleViolationException - Specified by:
validateReferencesin interfaceContentValidator- Throws:
RuleViolationException- See Also:
-