public class GetByIdSchemaValidator extends Object implements DslValidator
Constructor and Description |
---|
GetByIdSchemaValidator()
Constructor
|
Modifier and Type | Method and Description |
---|---|
void |
validate(com.fasterxml.jackson.databind.JsonNode dsl)
Validate a dsl query
|
public GetByIdSchemaValidator() throws IOException
IOException
- thrown when the schema file is not found or invalidpublic void validate(com.fasterxml.jackson.databind.JsonNode dsl) throws ValidationException
DslValidator
validate
in interface DslValidator
dsl
- dsl queryValidationException
- thrown if dsl query is not validCopyright © 2018 Vitam. All rights reserved.