Class AllNotificationBuilder
- java.lang.Object
-
- java.nio.file.SimpleFileVisitor<Path>
-
- org.jenkinsci.plugins.reportinfo.builder.AllNotificationBuilder
-
- All Implemented Interfaces:
FileVisitor<Path>
public class AllNotificationBuilder extends SimpleFileVisitor<Path>
- Author:
- Gael COLIN
-
-
Field Summary
Fields Modifier and Type Field Description protected JobNotification
jn
protected Path
path
-
Constructor Summary
Constructors Constructor Description AllNotificationBuilder(JobNotification jn, Path path, String excludeFolders, PrintStream logger)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FileVisitResult
preVisitDirectory(Path dir, BasicFileAttributes attrs)
void
start()
FileVisitResult
visitFile(Path file, BasicFileAttributes attrs)
-
Methods inherited from class java.nio.file.SimpleFileVisitor
postVisitDirectory, visitFileFailed
-
-
-
-
Field Detail
-
jn
protected JobNotification jn
-
path
protected Path path
-
-
Constructor Detail
-
AllNotificationBuilder
public AllNotificationBuilder(JobNotification jn, Path path, String excludeFolders, PrintStream logger)
-
-
Method Detail
-
start
public void start()
-
preVisitDirectory
public FileVisitResult preVisitDirectory(Path dir, BasicFileAttributes attrs) throws IOException
- Specified by:
preVisitDirectory
in interfaceFileVisitor<Path>
- Overrides:
preVisitDirectory
in classSimpleFileVisitor<Path>
- Throws:
IOException
-
visitFile
public FileVisitResult visitFile(Path file, BasicFileAttributes attrs) throws IOException
- Specified by:
visitFile
in interfaceFileVisitor<Path>
- Overrides:
visitFile
in classSimpleFileVisitor<Path>
- Throws:
IOException
-
-