org.sonar.api.rules
Interface ViolationFilter

All Superinterfaces:
BatchExtension, Extension

public interface ViolationFilter
extends BatchExtension

Filter violations to save. For example, ignore a violation if it occurs on a line of code commented with //NOSONAR

Since:
1.12

Method Summary
 boolean isIgnored(Violation violation)
          Return true if the violation must be ignored, else it's saved into database.
 

Method Detail

isIgnored

boolean isIgnored(Violation violation)
Return true if the violation must be ignored, else it's saved into database.



Copyright © 2009 SonarSource SA. All Rights Reserved.