org.sonar.batch.scan.filesystem
Class InputPathCache
java.lang.Object
org.sonar.batch.scan.filesystem.InputPathCache
- All Implemented Interfaces:
- BatchComponent
public class InputPathCache
- extends Object
- implements BatchComponent
Cache of all files. This cache is shared amongst all project modules. Inclusion and
exclusion patterns are already applied.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
InputPathCache
public InputPathCache(Caches caches)
all
public Iterable<InputPath> all()
filesByModule
public Iterable<InputFile> filesByModule(String moduleKey)
dirsByModule
public Iterable<InputDir> dirsByModule(String moduleKey)
removeModule
public InputPathCache removeModule(String moduleKey)
remove
public InputPathCache remove(String moduleKey,
InputFile inputFile)
remove
public InputPathCache remove(String moduleKey,
InputDir inputDir)
put
public InputPathCache put(String moduleKey,
InputFile inputFile)
put
public InputPathCache put(String moduleKey,
InputDir inputDir)
getFile
@CheckForNull
public InputFile getFile(String moduleKey,
String relativePath)
getDir
public InputDir getDir(String moduleKey,
String relativePath)
Copyright © 2009–2015 SonarSource. All rights reserved.