org.sonar.batch.scan.filesystem
Class ModuleInputFileCache

java.lang.Object
  extended by org.sonar.api.batch.fs.internal.DefaultFileSystem.Cache
      extended by org.sonar.batch.scan.filesystem.ModuleInputFileCache
All Implemented Interfaces:
FileSystem.Index, BatchComponent

public class ModuleInputFileCache
extends DefaultFileSystem.Cache
implements BatchComponent


Constructor Summary
ModuleInputFileCache(ProjectDefinition projectDef, InputPathCache projectCache)
           
 
Method Summary
protected  void doAdd(InputDir inputDir)
           
protected  void doAdd(InputFile inputFile)
           
 InputDir inputDir(String relativePath)
           
 InputFile inputFile(String relativePath)
           
 Iterable<InputFile> inputFiles()
           
 
Methods inherited from class org.sonar.api.batch.fs.internal.DefaultFileSystem.Cache
add
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ModuleInputFileCache

public ModuleInputFileCache(ProjectDefinition projectDef,
                            InputPathCache projectCache)
Method Detail

inputFiles

public Iterable<InputFile> inputFiles()
Specified by:
inputFiles in interface FileSystem.Index
Specified by:
inputFiles in class DefaultFileSystem.Cache

inputFile

public InputFile inputFile(String relativePath)
Specified by:
inputFile in interface FileSystem.Index
Specified by:
inputFile in class DefaultFileSystem.Cache

inputDir

public InputDir inputDir(String relativePath)
Specified by:
inputDir in interface FileSystem.Index
Specified by:
inputDir in class DefaultFileSystem.Cache

doAdd

protected void doAdd(InputFile inputFile)
Specified by:
doAdd in class DefaultFileSystem.Cache

doAdd

protected void doAdd(InputDir inputDir)
Specified by:
doAdd in class DefaultFileSystem.Cache


Copyright © 2009–2015 SonarSource. All rights reserved.