Interface FileSet
- All Superinterfaces:
BaseFileSet
- All Known Implementing Classes:
DefaultFileSet
A file set, which consists of the files and directories in
a common base directory.
- Since:
- 1.0-alpha-9
-
Method Summary
Modifier and TypeMethodDescriptionReturns the file sets base directory.default booleanReturns whether symbolic links below the base directory are followed.Methods inherited from interface BaseFileSet
getExcludes, getFileMappers, getFileSelectors, getIncludes, getPrefix, getStreamTransformer, isCaseSensitive, isIncludingEmptyDirectories, isUsingDefaultExcludes
-
Method Details
-
getDirectory
File getDirectory()Returns the file sets base directory. -
isFollowingSymLinks
default boolean isFollowingSymLinks()Returns whether symbolic links below the base directory are followed.When
false(the default), a symbolic link is added to the archive as a link and the contents of a linked directory are not scanned. Whentrue, links are resolved: a linked directory is added as a directory and its target's contents are included.Following links means the scan can descend into a directory that links back to one of its own ancestors, so only enable it for trees known not to contain such cycles.
- Since:
- 4.14.0
-