Interface IViolationFilter


  • public interface IViolationFilter
    Interface for filtering violations when retrieving them from a constraint or registering for event notifications.
    • Method Detail

      • apply

        boolean apply​(IViolation violation)
        Checks the given violation object whether it passes through the filter.
        Parameters:
        violation - The violation to be checked.
        Returns:
        true if the violation passes the filter.