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> |
OptimizedFilePredicate.get(FileSystem.Index index)
Get all files that are valid for this predicate.
|
Iterable<InputFile> |
AbstractFilePredicate.get(FileSystem.Index index) |
Iterable<InputFile> |
RelativePathPredicate.get(FileSystem.Index index) |
abstract Iterable<InputFile> |
DefaultFileSystem.Cache.inputFiles() |
Iterable<InputFile> |
DefaultFileSystem.inputFiles(FilePredicate predicate) |
Modifier and Type | Method and Description |
---|---|
DefaultFileSystem |
DefaultFileSystem.add(InputFile inputFile)
Adds InputFile to the list and registers its language, if present.
|
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 |
---|---|
DuplicationBuilder |
SensorContext.duplicationBuilder(InputFile inputFile)
Builder to manually define duplications in a file.
|
DuplicationTokenBuilder |
SensorContext.duplicationTokenBuilder(InputFile inputFile)
Builder to define tokens in a file.
|
<G extends Serializable> |
SensorContext.getMeasure(InputFile file,
Metric<G> metric)
Find a file measure.
|
Measure |
SensorContext.getMeasure(InputFile file,
String metricKey)
Find a file measure.
|
HighlightingBuilder |
SensorContext.highlightingBuilder(InputFile inputFile)
Builder to define highlighting of a file.
|
void |
SensorContext.saveDuplications(InputFile inputFile,
List<DuplicationGroup> duplications)
Register all duplications of an
InputFile . |
SymbolTableBuilder |
SensorContext.symbolTableBuilder(InputFile inputFile)
Builder to define symbol references in a file.
|
Modifier and Type | Method and Description |
---|---|
DuplicationBuilder |
DuplicationBuilder.isDuplicatedBy(InputFile sameOrOtherFile,
int startLine,
int endLine)
Declare duplicate block of the previously declared
DuplicationBuilder.originBlock(int, int) . |
Modifier and Type | Method and Description |
---|---|
DuplicationBuilder |
DefaultDuplicationBuilder.isDuplicatedBy(InputFile sameOrOtherFile,
int startLine,
int endLine) |
Constructor and Description |
---|
DefaultDuplicationBuilder(InputFile inputFile) |
Modifier and Type | Method and Description |
---|---|
IssueBuilder |
IssueBuilder.onFile(InputFile file)
The
InputFile the issue belongs to. |
Modifier and Type | Method and Description |
---|---|
DefaultIssueBuilder |
DefaultIssueBuilder.onFile(InputFile file) |
Modifier and Type | Method and Description |
---|---|
InputFile |
Measure.inputFile()
The
InputFile this measure belongs to. |
Modifier and Type | Method and Description |
---|---|
MeasureBuilder<G> |
MeasureBuilder.onFile(InputFile file)
The file the measure belongs to.
|
Modifier and Type | Method and Description |
---|---|
InputFile |
DefaultMeasure.inputFile() |
Modifier and Type | Method and Description |
---|---|
DefaultMeasureBuilder<G> |
DefaultMeasureBuilder.onFile(InputFile inputFile) |
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 |
ScmActivitySensor.processFile(InputFile inputFile) |
Copyright © 2009–2015 SonarSource. All rights reserved.