Class DirectoryWalker

java.lang.Object
org.codehaus.plexus.util.DirectoryWalker

public class DirectoryWalker extends Object
DirectoryWalker
  • Constructor Details

    • DirectoryWalker

      public DirectoryWalker()
  • Method Details

    • addDirectoryWalkListener

      public void addDirectoryWalkListener(DirectoryWalkListener listener)
    • addExclude

      public void addExclude(String exclude)
    • addInclude

      public void addInclude(String include)
    • addSCMExcludes

      public void addSCMExcludes()
      Add's to the Exclude List the default list of SCM excludes.
    • setDebugMode

      public void setDebugMode(boolean debugEnabled)
    • getBaseDir

      public File getBaseDir()
      Returns:
      Returns the baseDir.
    • getExcludes

      public List<String> getExcludes()
      Returns:
      Returns the excludes.
    • getIncludes

      public List<String> getIncludes()
      Returns:
      Returns the includes.
    • removeDirectoryWalkListener

      public void removeDirectoryWalkListener(DirectoryWalkListener listener)
      Removes a DirectoryWalkListener.
      Parameters:
      listener - the listener to remove.
    • scan

      public void scan()
      Performs a Scan against the provided setBaseDir(File)
    • setBaseDir

      public void setBaseDir(File baseDir)
      Parameters:
      baseDir - The baseDir to set.
    • setExcludes

      public void setExcludes(List<String> entries)
      Parameters:
      entries - The excludes to set.
    • setIncludes

      public void setIncludes(List<String> entries)
      Parameters:
      entries - The includes to set.