|
||||||||||
| 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.rhq.bundle.ant.type.AbstractBundleType
org.rhq.bundle.ant.type.FileSet
public class FileSet
A fileset that supports includes, but not excludes or selectors.
| 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 | |
|---|---|
FileSet()
Construct a new IncludesFileSet. |
|
| Method Summary | |
|---|---|
org.apache.tools.ant.types.PatternSet.NameEntry |
createInclude()
Add a name entry to the include list. |
protected String |
getDataTypeName()
Gets as descriptive as possible a name used for this datatype instance. |
File |
getDir()
Retrieves the base-directory for this instance. |
String[] |
getIncludePatterns()
|
protected FileSet |
getRef(org.apache.tools.ant.Project p)
Performs the check for circular references and returns the referenced FileSet. |
void |
setDir(String dir)
Sets the base-directory for this instance. |
void |
setFile(String file)
Creates a single file fileset. |
void |
setIncludes(String includes)
Appends includes to the current list of include
patterns. |
void |
setRefid(org.apache.tools.ant.types.Reference r)
Makes this instance in effect a reference to another instance. |
String |
toString()
Returns the list of unresolved include patterns. |
| Methods inherited from class org.rhq.bundle.ant.type.AbstractBundleType |
|---|
buildIncludePatternRegex, getPattern, getProject |
| Methods inherited from class org.apache.tools.ant.types.DataType |
|---|
checkAttributesAllowed, checkChildrenAllowed, circularReference, clone, dieOnCircularReference, dieOnCircularReference, dieOnCircularReference, getCheckedRef, getCheckedRef, getCheckedRef, getCheckedRef, getRefid, invokeCircularReferenceCheck, isChecked, isReference, noChildrenAllowed, pushAndInvokeCircularReferenceCheck, setChecked, tooManyAttributes |
| Methods inherited from class org.apache.tools.ant.ProjectComponent |
|---|
getDescription, getLocation, log, log, setDescription, setLocation, setProject |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public FileSet()
IncludesFileSet.
| Method Detail |
|---|
public void setRefid(org.apache.tools.ant.types.Reference r)
throws org.apache.tools.ant.BuildException
You must not set another attribute or nest elements inside this element if you make it a reference.
setRefid in class org.apache.tools.ant.types.DataTyper - the Reference to use.
org.apache.tools.ant.BuildException
public void setDir(String dir)
throws org.apache.tools.ant.BuildException
dir - the directory's File instance.
org.apache.tools.ant.BuildExceptionpublic File getDir()
public org.apache.tools.ant.types.PatternSet.NameEntry createInclude()
PatternSet.NameEntry.public void setFile(String file)
file - the single File included in this
AbstractFileSet.public void setIncludes(String includes)
includes to the current list of include
patterns.
Patterns may be separated by a comma or a space.
includes - the String containing the include patterns.public String[] getIncludePatterns()
protected String getDataTypeName()
getDataTypeName in class org.apache.tools.ant.types.DataTypeString name.protected FileSet getRef(org.apache.tools.ant.Project p)
public String toString()
toString in class org.apache.tools.ant.types.DataType
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||