Package org.everit.json.schema
Interface CombinedSchema.ValidationCriterion
- Enclosing class:
- CombinedSchema
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Validation criterion.
-
Method Summary
Modifier and TypeMethodDescriptionvoidvalidate(int subschemaCount, int matchingSubschemaCount) Throws aValidationExceptionif the implemented criterion is not fulfilled by thesubschemaCountand thematchingSubschemaCount.
-
Method Details
-
validate
void validate(int subschemaCount, int matchingSubschemaCount) Throws aValidationExceptionif the implemented criterion is not fulfilled by thesubschemaCountand thematchingSubschemaCount.- Parameters:
subschemaCount- the total number of checked subschemasmatchingSubschemaCount- the number of subschemas which successfully validated the subject (did not throwValidationException)
-