Class ArtifactVisitor
java.lang.Object
org.fedoraproject.xmvn.tools.subst.ArtifactVisitor
- All Implemented Interfaces:
FileVisitor<Path>
- Author:
- Mikolaj Izdebski
-
Constructor Summary
ConstructorsConstructorDescriptionArtifactVisitor
(org.fedoraproject.xmvn.logging.Logger logger, List<org.fedoraproject.xmvn.metadata.MetadataResult> metadata) -
Method Summary
Modifier and TypeMethodDescriptionint
postVisitDirectory
(Path path, IOException e) preVisitDirectory
(Path path, BasicFileAttributes attrs) void
setDryRun
(boolean dryRun) void
setFollowSymlinks
(boolean followSymlinks) void
setTypes
(Collection<String> types) visitFile
(Path path, BasicFileAttributes attrs) visitFileFailed
(Path path, IOException e)
-
Constructor Details
-
ArtifactVisitor
public ArtifactVisitor(org.fedoraproject.xmvn.logging.Logger logger, List<org.fedoraproject.xmvn.metadata.MetadataResult> metadata)
-
-
Method Details
-
setTypes
-
setFollowSymlinks
public void setFollowSymlinks(boolean followSymlinks) -
setDryRun
public void setDryRun(boolean dryRun) -
getFailureCount
public int getFailureCount() -
postVisitDirectory
- Specified by:
postVisitDirectory
in interfaceFileVisitor<Path>
- Throws:
IOException
-
preVisitDirectory
- Specified by:
preVisitDirectory
in interfaceFileVisitor<Path>
- Throws:
IOException
-
visitFile
- Specified by:
visitFile
in interfaceFileVisitor<Path>
- Throws:
IOException
-
visitFileFailed
- Specified by:
visitFileFailed
in interfaceFileVisitor<Path>
- Throws:
IOException
-