public class RelativePathPredicate extends AbstractFilePredicate
DEFAULT_PRIORITY, USE_INDEX| Modifier and Type | Method and Description |
|---|---|
boolean |
apply(InputFile f)
Test if provided file is valid for this predicate
|
java.lang.Iterable<InputFile> |
get(FileSystem.Index index)
Get all files that are valid for this predicate.
|
java.lang.String |
path() |
int |
priority()
For optimization.
|
compareTo, filterpublic java.lang.String path()
public boolean apply(InputFile f)
FilePredicatepublic java.lang.Iterable<InputFile> get(FileSystem.Index index)
OptimizedFilePredicateget in interface OptimizedFilePredicateget in class AbstractFilePredicatepublic int priority()
OptimizedFilePredicateRelativePathPredicate and AbsolutePathPredicate have a high priority since they are using cache index.priority in interface OptimizedFilePredicatepriority in class AbstractFilePredicate