|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.tools.ant.ProjectComponent
org.apache.tools.ant.types.DataType
org.apache.tools.ant.types.AbstractFileSet
org.apache.tools.ant.types.FileSet
org.apache.tools.ant.types.optional.depend.ClassfileSet
public class ClassfileSet
A ClassfileSet is a FileSet that enlists all classes that depend on a certain set of root classes. ClassfileSet extends FileSet, its inherited properties defining the domain searched for dependent classes.
| Nested Class Summary | |
|---|---|
static class |
ClassfileSet.ClassRoot
Inner class used to contain info about root classes. |
| Field Summary |
|---|
| Fields inherited from class org.apache.tools.ant.types.DataType |
|---|
checked, ref |
| Fields inherited from class org.apache.tools.ant.ProjectComponent |
|---|
description, location, project |
| Constructor Summary | |
|---|---|
|
ClassfileSet()
Default constructor. |
protected |
ClassfileSet(ClassfileSet s)
Create a ClassfileSet from another ClassfileSet. |
| Method Summary | |
|---|---|
void |
addConfiguredRoot(ClassfileSet.ClassRoot root)
Add a nested root class definition to this class file set. |
void |
addRootFileset(FileSet rootFileSet)
Add a fileset to which contains a collection of root classes used to drive the search from classes. |
java.lang.Object |
clone()
Clone this data type. |
DirectoryScanner |
getDirectoryScanner(Project p)
Return the DirectoryScanner associated with this FileSet. |
void |
setRootClass(java.lang.String rootClass)
Set the root class attribute. |
| Methods inherited from class org.apache.tools.ant.types.FileSet |
|---|
isFilesystemOnly, iterator, size |
| Methods inherited from class org.apache.tools.ant.types.DataType |
|---|
checkAttributesAllowed, checkChildrenAllowed, circularReference, dieOnCircularReference, dieOnCircularReference, dieOnCircularReference, getCheckedRef, getCheckedRef, getCheckedRef, getCheckedRef, getDataTypeName, getRefid, invokeCircularReferenceCheck, isChecked, isReference, noChildrenAllowed, setChecked, tooManyAttributes |
| Methods inherited from class org.apache.tools.ant.ProjectComponent |
|---|
getDescription, getLocation, getProject, log, log, setDescription, setLocation, setProject |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ClassfileSet()
protected ClassfileSet(ClassfileSet s)
s - the other classfileset.| Method Detail |
|---|
public void addRootFileset(FileSet rootFileSet)
rootFileSet - a root file set to be used to search for dependent
classes.public void setRootClass(java.lang.String rootClass)
rootClass - the name of the root class.public DirectoryScanner getDirectoryScanner(Project p)
getDirectoryScanner in class AbstractFileSetp - the project used to resolve dirs, etc.
public void addConfiguredRoot(ClassfileSet.ClassRoot root)
root - the configured class root.public java.lang.Object clone()
clone in class FileSet
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||