org.sonar.api.checks
Class NoSonarFilter
java.lang.Object
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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NoSonarFilter
public NoSonarFilter(SensorContext context)
- Deprecated.
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–2015 SonarSource. All rights reserved.