org.sonar.api.checks
Class NoSonarFilter

java.lang.Object
  extended by org.sonar.api.checks.NoSonarFilter
All Implemented Interfaces:
BatchComponent, BatchExtension, Extension, ViolationFilter

Deprecated. in 3.6. Replaced by NoSonarFilter

@Deprecated
public class NoSonarFilter
extends Object
implements ViolationFilter

Since:
2.1

Constructor Summary
NoSonarFilter(SensorContext context)
          Deprecated.  
 
Method Summary
 void addResource(Resource model, Set<Integer> noSonarLines)
          Deprecated.  
 boolean isIgnored(Violation violation)
          Deprecated. Return true if the violation must be ignored, else it's saved into database.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NoSonarFilter

public NoSonarFilter(SensorContext context)
Deprecated. 
Method Detail

addResource

public void addResource(Resource model,
                        Set<Integer> noSonarLines)
Deprecated. 

isIgnored

public boolean isIgnored(Violation violation)
Deprecated. 
Description copied from interface: ViolationFilter
Return true if the violation must be ignored, else it's saved into database.

Specified by:
isIgnored in interface ViolationFilter


Copyright © 2009–2014 SonarSource. All rights reserved.