private boolean isSuppressedRow ( String ruleId , Map < String , Object > row , String primaryColumn ) { Object primaryValue = row . get ( primaryColumn ) ; if ( primaryValue != null && Suppress . class . isAssignableFrom ( primaryValue . getClass ( ) ) ) { Suppress suppress = ( Suppress ) primaryValue ; for ( String suppressId : suppress . getSuppressIds ( ) ) { if ( ruleId . equals ( suppressId ) ) { return true ; } } } return false ; }
Verifies if the given row shall be suppressed .