public abstract class AbstractFilePredicate extends Object implements OptimizedFilePredicate
FilePredicate.| Modifier and Type | Field and Description | 
|---|---|
| protected static int | DEFAULT_PRIORITY | 
| protected static int | USE_INDEX | 
| Constructor and Description | 
|---|
| AbstractFilePredicate() | 
| Modifier and Type | Method and Description | 
|---|---|
| int | compareTo(OptimizedFilePredicate o) | 
| Iterable<InputFile> | filter(Iterable<InputFile> target)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. | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitapplyprotected static final int DEFAULT_PRIORITY
protected static final int USE_INDEX
public AbstractFilePredicate()
public Iterable<InputFile> filter(Iterable<InputFile> target)
OptimizedFilePredicatefilter in interface OptimizedFilePredicatepublic Iterable<InputFile> get(FileSystem.Index index)
OptimizedFilePredicateget in interface OptimizedFilePredicatepublic int priority()
OptimizedFilePredicateRelativePathPredicate and AbsolutePathPredicate have a high priority since they are using cache index.priority in interface OptimizedFilePredicatepublic final int compareTo(OptimizedFilePredicate o)
compareTo in interface Comparable<OptimizedFilePredicate>Copyright © 2009–2016 SonarSource. All rights reserved.