Package com.google.gerrit.server.git
Class LocalDiskRepositoryManager.ProjectVisitor
- java.lang.Object
 - 
- java.nio.file.SimpleFileVisitor<Path>
 - 
- com.google.gerrit.server.git.LocalDiskRepositoryManager.ProjectVisitor
 
 
 
- 
- All Implemented Interfaces:
 FileVisitor<Path>
- Enclosing class:
 - LocalDiskRepositoryManager
 
protected class LocalDiskRepositoryManager.ProjectVisitor extends SimpleFileVisitor<Path>
 
- 
- 
Constructor Summary
Constructors Constructor Description ProjectVisitor(Path startFolder) 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FileVisitResultpreVisitDirectory(Path dir, BasicFileAttributes attrs)voidsetStartFolder(Path startFolder)FileVisitResultvisitFileFailed(Path file, IOException e)- 
Methods inherited from class java.nio.file.SimpleFileVisitor
postVisitDirectory, visitFile 
 - 
 
 - 
 
- 
- 
Constructor Detail
- 
ProjectVisitor
public ProjectVisitor(Path startFolder)
 
 - 
 
- 
Method Detail
- 
setStartFolder
public void setStartFolder(Path startFolder)
 
- 
preVisitDirectory
public FileVisitResult preVisitDirectory(Path dir, BasicFileAttributes attrs) throws IOException
- Specified by:
 preVisitDirectoryin interfaceFileVisitor<Path>- Overrides:
 preVisitDirectoryin classSimpleFileVisitor<Path>- Throws:
 IOException
 
- 
visitFileFailed
public FileVisitResult visitFileFailed(Path file, IOException e)
- Specified by:
 visitFileFailedin interfaceFileVisitor<Path>- Overrides:
 visitFileFailedin classSimpleFileVisitor<Path>
 
 - 
 
 -