org.apache.tools.ant.types.optional.depend
Class ClassfileSet
- Cloneable, SelectorContainer
public class ClassfileSet
A ClassfileSet is a FileSet, that enlists all classes that depend on a
certain set of root classes.
A ClassfileSet extends FileSets. The
nested FileSet attribute provides the domain, that is used for searching
for dependent classes
add, addAnd, addContains, addContainsRegexp, addCustom, addDate, addDepend, addDepth, addDifferent, addFilename, addMajority, addModified, addNone, addNot, addOr, addPresent, addSelector, addSize, addType, appendSelector, clone, createExclude, createExcludesFile, createInclude, createIncludesFile, createPatternSet, getDataTypeName, getDir, getDirectoryScanner, getRef, getSelectors, hasPatterns, hasSelectors, isFollowSymlinks, selectorCount, selectorElements, setCaseSensitive, setDefaultexcludes, setDir, setExcludes, setExcludesfile, setFile, setFollowSymlinks, setIncludes, setIncludesfile, setRefid, setupDirectoryScanner, toString |
checkAttributesAllowed, checkChildrenAllowed, circularReference, dieOnCircularReference, getCheckedRef, getDescription, getRefid, isChecked, isReference, noChildrenAllowed, setChecked, setDescription, setRefid, tooManyAttributes |
ClassfileSet
public ClassfileSet()
Default constructor
ClassfileSet
protected ClassfileSet(ClassfileSet s)
Create a ClassfileSet from another ClassfileSet
s - the other classfileset
addConfiguredRoot
public void addConfiguredRoot(ClassfileSet.ClassRoot root)
Add a nested root class definition to this class file set
root - the configured class root.
addRootFileset
public void addRootFileset(FileSet rootFileSet)
Add a fileset to which contains a collection of root classes used to
drive the search from classes
rootFileSet - a root file set to be used to search for dependent
classes
clone
public Object clone()
Clone this data type.
- clone in interface FileSet
- a clone of the class file set
getDirectoryScanner
public DirectoryScanner getDirectoryScanner(Project p)
Return the DirectoryScanner associated with this FileSet.
- getDirectoryScanner in interface AbstractFileSet
p - the project used to resolve dirs, etc.
- a dependency scanner.
setRootClass
public void setRootClass(String rootClass)
Set the root class attribute
rootClass - the name of the root class.
Copyright B) 2000-2005 Apache Software Foundation. All Rights Reserved.