Package hudson
Class FilePath.ExplicitlySpecifiedDirScanner
java.lang.Object
hudson.util.DirScanner
hudson.FilePath.ExplicitlySpecifiedDirScanner
- All Implemented Interfaces:
Serializable
- Enclosing class:
- FilePath
Helper class to make it easy to send an explicit list of files using
FilePath methods.- Since:
- 1.532
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class hudson.util.DirScanner
DirScanner.Filter, DirScanner.Full, DirScanner.Glob -
Constructor Summary
ConstructorsConstructorDescriptionExplicitlySpecifiedDirScanner(Map<String, String> files) Create a “scanner” (it actually does no scanning). -
Method Summary
Modifier and TypeMethodDescriptionvoidscan(File dir, FileVisitor visitor) Scans the given directory and pass files onto the given visitor.Methods inherited from class hudson.util.DirScanner
scanSingle
-
Constructor Details
-
ExplicitlySpecifiedDirScanner
Create a “scanner” (it actually does no scanning).- Parameters:
files- a map from logical relative paths as perFileVisitor.visit(java.io.File, java.lang.String), to actual relative paths within the scanned directory
-
-
Method Details
-
scan
Description copied from class:DirScannerScans the given directory and pass files onto the given visitor.- Specified by:
scanin classDirScanner- Throws:
IOException
-