@ApplicationScoped public class ProtobufFdContentValidator extends Object implements ContentValidator
Constructor and Description |
---|
ProtobufFdContentValidator()
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(ValidityLevel, ContentHandle)
Copyright © 2020 Red Hat. All rights reserved.