org.sonar.api.rules
Interface ViolationFilter

All Superinterfaces:
BatchComponent, BatchExtension, Extension
All Known Implementing Classes:
NoSonarFilter

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-2011 SonarSource. All Rights Reserved.