Class DirectoryScanResult

java.lang.Object
org.apache.maven.shared.utils.io.DirectoryScanResult

@Deprecated public class DirectoryScanResult extends Object
Deprecated.
use java.nio.file.DirectoryStream and related classes
Scan for files in a directory at a given time and reports removed and added files between captures.
  • Constructor Details

    • DirectoryScanResult

      public DirectoryScanResult(String[] filesAdded, String[] filesRemoved)
      Deprecated.
      Parameters:
      filesAdded - Added files.
      filesRemoved - Removed files.
  • Method Details

    • getFilesAdded

      public String[] getFilesAdded()
      Deprecated.
      Returns:
      all files which got detected as being added between 2 capture calls
    • getFilesRemoved

      public String[] getFilesRemoved()
      Deprecated.
      Returns:
      all files which got detected as being removed between 2 capture calls