Interface IDelegateApplicabilityFilter

  • 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 interface IDelegateApplicabilityFilter
    Checks if the corresponding delegate ICheck is applicable for the given context object. The context object is the same object the delegating context is working on. This allows to filter out models with same structure (e.g. queries, documenting comments) but residing in different parent objects (e.g. to check only queries of forms, etc)
    • Method Detail

      • isApplicable

        boolean isApplicable​(Object context)
        Checks if the corresponding check is applicable in the given context
        Parameters:
        context - The context object. May not be null
        Returns:
        True if the check is applicable