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 a ValidationException if the implemented criterion is not fulfilled by the subschemaCount and the matchingSubschemaCount.
    • Method Detail

      • validate

        void validate​(int subschemaCount,
                      int matchingSubschemaCount)
        Throws a ValidationException if the implemented criterion is not fulfilled by the subschemaCount and the matchingSubschemaCount.
        Parameters:
        subschemaCount - the total number of checked subschemas
        matchingSubschemaCount - the number of subschemas which successfully validated the subject (did not throw ValidationException)