private boolean _shouldEvaluateAlert ( Alert alert , BigInteger alertId ) { if ( alert == null ) { _logger . warn ( MessageFormat . format ( "Could not find alert ID {0}" , alertId ) ) ; return false ; } if ( ! alert . isEnabled ( ) ) { _logger . warn ( MessageFormat . format ( "Alert {0} has been disabled. Will not evaluate." , alert . getId ( ) . intValue ( ) ) ) ; return false ; } return true ; }
Determines if the alert should be evaluated or not .