Class InstallerSupport.NameClashVisitor

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

private static final class InstallerSupport.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(@Nonnull Path fromDir, @Nonnull Path toDir)
      Constructor.
      Parameters:
      fromDir - Path we are traversing
      toDir - Path where we check for Duplicates
  • Method Details