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.
@FunctionalInterface public static interface CombinedSchema.ValidationCriterionValidation criterion.
-
-
Method Summary
Modifier and Type Method Description voidvalidate(int subschemaCount, int matchingSubschemaCount)Throws aValidationExceptionif the implemented criterion is not fulfilled by thesubschemaCountand thematchingSubschemaCount.
-
-
-
Method Detail
-
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)
-
-