Interface ConstraintValidator<T extends Visitable>

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      boolean isValid​(T elementOrResource, Constraint constraint)
      Indicates whether an element or resource is valid with respect to the given constraint
    • Method Detail

      • isValid

        boolean isValid​(T elementOrResource,
                        Constraint constraint)
        Indicates whether an element or resource is valid with respect to the given constraint
        Parameters:
        elementOrResource - the element or resource
        constraint - the constraint
        Returns:
        true if the element or resource is valid with respect to the given constraint, false otherwise