Class PluginInstallerSupport.NameClashVisitor

java.lang.Object
java.nio.file.SimpleFileVisitor<Path>
net.shibboleth.idp.installer.plugin.impl.PluginInstallerSupport.NameClashVisitor
All Implemented Interfaces:
FileVisitor<Path>
Enclosing class:
PluginInstallerSupport

private static final class PluginInstallerSupport.NameClashVisitor extends SimpleFileVisitor<Path>
A @{link FileVisitor which detects (and logs) whether a copy would overwrite.
  • Field Details

    • nameClash

      private boolean nameClash
      did we find a duplicate.
    • from

      private final Path from
      Path we are traversing.
    • to

      private final Path to
      Path where we check for Duplicates.
  • Constructor Details

    • NameClashVisitor

      public NameClashVisitor(Path fromDir, Path toDir)
      Constructor.
      Parameters:
      fromDir - Path we are traversing
      toDir - Path where we check for Duplicates
  • Method Details