Interface IViolationFilter
-
public interface IViolationFilterInterface 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 Description booleanapply(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:
trueif the violation passes the filter.
-
-