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.ValidationCriterion
Validation criterion.
-
-
Method Summary
Modifier and Type Method Description void
validate(int subschemaCount, int matchingSubschemaCount)
Throws aValidationException
if the implemented criterion is not fulfilled by thesubschemaCount
and thematchingSubschemaCount
.
-
-
-
Method Detail
-
validate
void validate(int subschemaCount, int matchingSubschemaCount)
Throws aValidationException
if the implemented criterion is not fulfilled by thesubschemaCount
and thematchingSubschemaCount
.- Parameters:
subschemaCount
- the total number of checked subschemasmatchingSubschemaCount
- the number of subschemas which successfully validated the subject (did not throwValidationException
)
-
-