|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface OptimizedFilePredicate
Optimized version of FilePredicate allowing to speed up query by looking at InputFile by index.
| Method Summary | |
|---|---|
Iterable<InputFile> |
filter(Iterable<InputFile> inputFiles)
Filter provided files to keep only the ones that are valid for this predicate |
Iterable<InputFile> |
get(FileSystem.Index index)
Get all files that are valid for this predicate. |
int |
priority()
For optimization. |
| Methods inherited from interface org.sonar.api.batch.fs.FilePredicate |
|---|
apply |
| Methods inherited from interface java.lang.Comparable |
|---|
compareTo |
| Method Detail |
|---|
Iterable<InputFile> filter(Iterable<InputFile> inputFiles)
Iterable<InputFile> get(FileSystem.Index index)
int priority()
RelativePathPredicate and AbsolutePathPredicate have a high priority since they are using cache index.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||