public interface OptimizedFilePredicate extends FilePredicate, Comparable<OptimizedFilePredicate>
Modifier and Type | Method and Description |
---|---|
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.
|
apply
compareTo
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.Copyright © 2009–2015 SonarSource. All rights reserved.