Class NotificationEventPathFilter

java.lang.Object
org.apache.nifi.processors.hadoop.inotify.NotificationEventPathFilter
All Implemented Interfaces:
org.apache.hadoop.fs.PathFilter

class NotificationEventPathFilter extends Object implements org.apache.hadoop.fs.PathFilter
  • Field Details

    • watchDirectory

      private final Pattern watchDirectory
    • toIgnoreHiddenFiles

      private final boolean toIgnoreHiddenFiles
  • Constructor Details

    • NotificationEventPathFilter

      NotificationEventPathFilter(Pattern watchDirectory, boolean toIgnoreHiddenFiles)
  • Method Details

    • accept

      public boolean accept(org.apache.hadoop.fs.Path path)
      Specified by:
      accept in interface org.apache.hadoop.fs.PathFilter