| Modifier and Type | Method and Description | 
|---|---|
Measure | 
SensorContext.saveMeasure(InputFile inputFile,
                      Measure measure)
Save measure on  
InputFile | 
Measure | 
SensorContext.saveMeasure(InputFile inputFile,
                      Metric metric,
                      Double value)
Save measure on  
InputFile | 
| Modifier and Type | Method and Description | 
|---|---|
InputFile | 
FileSystem.inputFile(FilePredicate predicate)
Returns the single element matching the predicate. 
 | 
InputFile | 
FileSystem.Index.inputFile(String relativePath)  | 
| Modifier and Type | Method and Description | 
|---|---|
Iterable<InputFile> | 
FileSystem.Index.inputFiles()  | 
Iterable<InputFile> | 
FileSystem.inputFiles(FilePredicate predicate)
Input files matching the given attributes. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
boolean | 
InputFileFilter.accept(InputFile f)  | 
boolean | 
FilePredicate.apply(InputFile inputFile)
Test if provided file is valid for this predicate 
 | 
| Modifier and Type | Method and Description | 
|---|---|
InputFile | 
DefaultFileSystem.inputFile(FilePredicate predicate)  | 
abstract InputFile | 
DefaultFileSystem.Cache.inputFile(String relativePath)  | 
| Modifier and Type | Method and Description | 
|---|---|
Iterable<InputFile> | 
OptimizedFilePredicate.filter(Iterable<InputFile> inputFiles)
Filter provided files to keep only the ones that are valid for this predicate 
 | 
Iterable<InputFile> | 
AbstractFilePredicate.filter(Iterable<InputFile> target)  | 
Iterable<InputFile> | 
RelativePathPredicate.get(FileSystem.Index index)  | 
Iterable<InputFile> | 
OptimizedFilePredicate.get(FileSystem.Index index)
Get all files that are valid for this predicate. 
 | 
Iterable<InputFile> | 
AbstractFilePredicate.get(FileSystem.Index index)  | 
abstract Iterable<InputFile> | 
DefaultFileSystem.Cache.inputFiles()  | 
Iterable<InputFile> | 
DefaultFileSystem.inputFiles(FilePredicate predicate)  | 
| Modifier and Type | Method and Description | 
|---|---|
boolean | 
RelativePathPredicate.apply(InputFile f)  | 
protected abstract void | 
DefaultFileSystem.Cache.doAdd(InputFile inputFile)  | 
abstract boolean | 
PathPattern.match(InputFile inputFile)  | 
abstract boolean | 
PathPattern.match(InputFile inputFile,
          boolean caseSensitiveFileExtension)  | 
| Modifier and Type | Method and Description | 
|---|---|
Iterable<InputFile> | 
OptimizedFilePredicate.filter(Iterable<InputFile> inputFiles)
Filter provided files to keep only the ones that are valid for this predicate 
 | 
Iterable<InputFile> | 
AbstractFilePredicate.filter(Iterable<InputFile> target)  | 
| Modifier and Type | Method and Description | 
|---|---|
Iterable<InputFile> | 
BlameCommand.BlameInput.filesToBlame()
List of files that should be blamed. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
BlameCommand.BlameOutput.blameResult(InputFile file,
                      List<BlameLine> lines)
Add result of the blame command for a single file. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
NewCoverage | 
NewCoverage.onFile(InputFile inputFile)
The covered file. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
InputFile | 
DefaultCoverage.inputFile()  | 
| Modifier and Type | Method and Description | 
|---|---|
DefaultCoverage | 
DefaultCoverage.onFile(InputFile inputFile)  | 
| Modifier and Type | Method and Description | 
|---|---|
NewDuplication | 
NewDuplication.isDuplicatedBy(InputFile sameOrOtherFile,
                            int startLine,
                            int endLine)
Declare duplicate block of the previously declared  
#originBlock(int, int). | 
NewDuplication | 
NewDuplication.originBlock(InputFile originFile,
                      int startLine,
                      int endLine)
Declare duplication origin block. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
DefaultDuplication | 
DefaultDuplication.isDuplicatedBy(InputFile sameOrOtherFile,
                            int startLine,
                            int endLine)  | 
DefaultDuplication | 
DefaultDuplication.originBlock(InputFile inputFile,
                      int startLine,
                      int endLine)  | 
| Modifier and Type | Method and Description | 
|---|---|
NewHighlighting | 
NewHighlighting.onFile(InputFile inputFile)
The file the highlighting belongs to. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
InputFile | 
DefaultHighlighting.inputFile()  | 
| Modifier and Type | Method and Description | 
|---|---|
DefaultHighlighting | 
DefaultHighlighting.onFile(InputFile inputFile)  | 
| Modifier and Type | Method and Description | 
|---|---|
protected void | 
DefaultStorable.validateLineArgument(InputFile inputFile,
                                        int line,
                                        String label)  | 
| Modifier and Type | Method and Description | 
|---|---|
NoSonarFilter | 
NoSonarFilter.noSonarInFile(InputFile inputFile,
                          Set<Integer> noSonarLines)
Register lines in a file that contains the NOSONAR flag. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
FileLinesContext | 
FileLinesContextFactory.createFor(InputFile inputFile)  | 
| Modifier and Type | Method and Description | 
|---|---|
MutableTestCase | 
MutableTestCase.setCoverageBlock(InputFile mainFile,
                                List<Integer> lines)  | 
Copyright © 2009–2015 SonarSource. All rights reserved.