private Severity getEffectiveSeverity ( SeverityRule rule , Severity parentSeverity , Severity requestedSeverity ) { Severity effectiveSeverity = requestedSeverity != null ? requestedSeverity : parentSeverity ; return effectiveSeverity != null ? effectiveSeverity : rule . getSeverity ( ) ; }
Determines the effective severity for a rule to be executed .