Package org.eclipse.jetty.ant.types
Class FileMatchingConfiguration
java.lang.Object
org.eclipse.jetty.ant.types.FileMatchingConfiguration
Describes set of files matched by
<fileset/> elements in ant configuration
file. It is used to group application classes, libraries, and scannedTargets
elements.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddDirectoryScanner(org.apache.tools.ant.DirectoryScanner directoryScanner) booleanisIncluded(String pathToFile) Checks if passed file is scanned by any of the directory scanners.
-
Constructor Details
-
FileMatchingConfiguration
public FileMatchingConfiguration()
-
-
Method Details
-
addDirectoryScanner
public void addDirectoryScanner(org.apache.tools.ant.DirectoryScanner directoryScanner) - Parameters:
directoryScanner- new directory scanner retrieved from the<fileset/>element.
-
getBaseDirectories
- Returns:
- a list of base directories denoted by a list of directory scanners.
-
isIncluded
Checks if passed file is scanned by any of the directory scanners.- Parameters:
pathToFile- a fully qualified path to tested file.- Returns:
- true if so, false otherwise.
-