org.eclipse.viatra.addon.validation.core.api

## Interface IViolationFilter

-     public interface IViolationFilter

  Interface for filtering violations when retrieving them from a constraint or registering for event notifications.

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `boolean` | `apply(IViolation violation)` Checks the given violation object whether it passes through the filter.

- - ### 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.