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 FileVisitResult
preVisitDirectory(Path dir, BasicFileAttributes attrs)
void
setStartFolder(Path startFolder)
FileVisitResult
visitFileFailed(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:
preVisitDirectory
in interfaceFileVisitor<Path>
- Overrides:
preVisitDirectory
in classSimpleFileVisitor<Path>
- Throws:
IOException
-
visitFileFailed
public FileVisitResult visitFileFailed(Path file, IOException e)
- Specified by:
visitFileFailed
in interfaceFileVisitor<Path>
- Overrides:
visitFileFailed
in classSimpleFileVisitor<Path>
-
-