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 | Class and Description |
---|---|
class |
DefaultInputFile |
class |
DeprecatedDefaultInputFile |
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 |
---|---|
NewDependency |
NewDependency.from(InputFile from) |
NewDependency |
NewDependency.to(InputFile to) |
Modifier and Type | Method and Description |
---|---|
DefaultDependency |
DefaultDependency.from(InputFile from) |
DefaultDependency |
DefaultDependency.to(InputFile to) |
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 |
---|---|
NewIssue |
NewIssue.onFile(InputFile file)
The
InputFile the issue belongs to. |
Modifier and Type | Method and Description |
---|---|
DefaultIssue |
DefaultIssue.onFile(InputFile file) |
Modifier and Type | Method and Description |
---|---|
InputFile |
Measure.inputFile()
The file the measure belong to.
|
Modifier and Type | Method and Description |
---|---|
NewMeasure<G> |
NewMeasure.onFile(InputFile file)
The file the measure belongs to.
|
Modifier and Type | Method and Description |
---|---|
InputFile |
DefaultMeasure.inputFile() |
Modifier and Type | Method and Description |
---|---|
DefaultMeasure<G> |
DefaultMeasure.onFile(InputFile inputFile) |
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 |
---|---|
void |
TemplateRuleCheck.execute(SensorContext sensorContext,
InputFile file,
RuleKey ruleKey) |
void |
Check.execute(SensorContext context,
InputFile file,
RuleKey ruleKey) |
Modifier and Type | Method and Description |
---|---|
protected void |
XooBlameCommand.processFile(InputFile inputFile,
BlameCommand.BlameOutput result) |
Copyright © 2009–2015 SonarSource. All rights reserved.