@ScannerSide public class NoSonarFilter extends java.lang.Object
Sensor
s, must feed this filter by registering the
lines that contain "NOSONAR". Note that filters are disabled for the issues reported by
end-users from UI or web services.Constructor and Description |
---|
NoSonarFilter() |
Modifier and Type | Method and Description |
---|---|
NoSonarFilter |
noSonarInFile(InputFile inputFile,
java.util.Set<java.lang.Integer> noSonarLines)
Register lines in a file that contains the NOSONAR flag.
|
public NoSonarFilter noSonarInFile(InputFile inputFile, java.util.Set<java.lang.Integer> noSonarLines)
inputFile
- noSonarLines
- Line number starts at 1 in a file