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 TypeMethodDescriptionintpostVisitDirectory(Path path, IOException e) preVisitDirectory(Path path, BasicFileAttributes attrs) voidsetDryRun(boolean dryRun) voidsetFollowSymlinks(boolean followSymlinks) voidsetTypes(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:
postVisitDirectoryin interfaceFileVisitor<Path>- Throws:
IOException
-
preVisitDirectory
- Specified by:
preVisitDirectoryin interfaceFileVisitor<Path>- Throws:
IOException
-
visitFile
- Specified by:
visitFilein interfaceFileVisitor<Path>- Throws:
IOException
-
visitFileFailed
- Specified by:
visitFileFailedin interfaceFileVisitor<Path>- Throws:
IOException
-