@Component(role=ArtifactVisitor.class) public class ArtifactVisitor extends Object implements FileVisitor<Path>
Constructor and Description |
---|
ArtifactVisitor() |
Modifier and Type | Method and Description |
---|---|
int |
getFailureCount() |
FileVisitResult |
postVisitDirectory(Path path,
IOException e) |
FileVisitResult |
preVisitDirectory(Path path,
BasicFileAttributes attrs) |
void |
setDryRun(boolean dryRun) |
void |
setFollowSymlinks(boolean followSymlinks) |
void |
setTypes(Collection<String> types) |
FileVisitResult |
visitFile(Path path,
BasicFileAttributes attrs) |
FileVisitResult |
visitFileFailed(Path path,
IOException e) |
public void setTypes(Collection<String> types)
public void setFollowSymlinks(boolean followSymlinks)
public void setDryRun(boolean dryRun)
public int getFailureCount()
public FileVisitResult postVisitDirectory(Path path, IOException e) throws IOException
postVisitDirectory
in interface FileVisitor<Path>
IOException
public FileVisitResult preVisitDirectory(Path path, BasicFileAttributes attrs) throws IOException
preVisitDirectory
in interface FileVisitor<Path>
IOException
public FileVisitResult visitFile(Path path, BasicFileAttributes attrs) throws IOException
visitFile
in interface FileVisitor<Path>
IOException
public FileVisitResult visitFileFailed(Path path, IOException e) throws IOException
visitFileFailed
in interface FileVisitor<Path>
IOException
Copyright © 2012-2016 Red Hat, Inc.. All Rights Reserved.