@ApplicationScoped public class ProtobufContentValidator extends Object implements ContentValidator
Constructor and Description |
---|
ProtobufContentValidator()
Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
validate(ValidityLevel level,
ContentHandle artifactContent)
Called to validate the given content.
|
public void validate(ValidityLevel level, ContentHandle artifactContent) throws InvalidContentException
ContentValidator
validate
in interface ContentValidator
level
- the levelartifactContent
- the contentInvalidContentException
- for any invalid contentContentValidator.validate(io.apicurio.registry.rules.validity.ValidityLevel, ContentHandle)
Copyright © 2020 Red Hat. All rights reserved.