Class KafkaConnectContentValidator
- java.lang.Object
-
- io.apicurio.registry.rules.validity.KafkaConnectContentValidator
-
- All Implemented Interfaces:
ContentValidator
@ApplicationScoped public class KafkaConnectContentValidator extends Object implements ContentValidator
A content validator implementation for the Kafka Connect schema content type.- Author:
- eric.wittmann@gmail.com
-
-
Constructor Summary
Constructors Constructor Description KafkaConnectContentValidator()
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
validate(ValidityLevel level, ContentHandle artifactContent)
Called to validate the given content.
-
-
-
Method Detail
-
validate
public void validate(ValidityLevel level, ContentHandle artifactContent) throws RuleViolationException
Description copied from interface:ContentValidator
Called to validate the given content.- Specified by:
validate
in interfaceContentValidator
- Parameters:
level
- the levelartifactContent
- the content- Throws:
RuleViolationException
- for any invalid content- See Also:
ContentValidator.validate(io.apicurio.registry.rules.validity.ValidityLevel, io.apicurio.registry.content.ContentHandle)
-
-