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 SummaryModifier and Type Method Description voidvalidate(int subschemaCount, int matchingSubschemaCount)Throws aValidationExceptionif the implemented criterion is not fulfilled by thesubschemaCountand thematchingSubschemaCount.
 
- 
- 
- 
Method Detail- 
validatevoid validate(int subschemaCount, int matchingSubschemaCount)Throws aValidationExceptionif the implemented criterion is not fulfilled by thesubschemaCountand thematchingSubschemaCount.- Parameters:
- subschemaCount- the total number of checked subschemas
- matchingSubschemaCount- the number of subschemas which successfully validated the subject (did not throw- ValidationException)
 
 
- 
 
-