|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--org.apache.tools.ant.ProjectComponent
|
+--org.apache.tools.ant.types.DataType
|
+--org.apache.tools.ant.types.selectors.AbstractSelectorContainer
|
+--org.apache.tools.ant.taskdefs.condition.IsFileSelected
This is a condition that checks to see if a file passes an embedded selector.
| Field Summary |
| Fields inherited from class org.apache.tools.ant.types.DataType |
checked, description, ref |
| Fields inherited from class org.apache.tools.ant.ProjectComponent |
project |
| Constructor Summary | |
IsFileSelected()
|
|
| Method Summary | |
boolean |
eval()
Evaluate the selector with the file. |
void |
setBaseDir(java.io.File baseDir)
The base directory to use. |
void |
setFile(java.io.File file)
The file to check. |
void |
validate()
validate the parameters. |
| Methods inherited from class org.apache.tools.ant.types.selectors.AbstractSelectorContainer |
add, addAnd, addContains, addContainsRegexp, addCustom, addDate, addDepend, addDepth, addDifferent, addFilename, addMajority, addModified, addNone, addNot, addOr, addPresent, addSelector, addSize, addType, appendSelector, getSelectors, hasSelectors, selectorCount, selectorElements, toString |
| Methods inherited from class org.apache.tools.ant.types.DataType |
checkAttributesAllowed, checkChildrenAllowed, circularReference, dieOnCircularReference, getCheckedRef, getDescription, getRefid, isChecked, isReference, noChildrenAllowed, setChecked, setDescription, setRefid, tooManyAttributes |
| Methods inherited from class org.apache.tools.ant.ProjectComponent |
getProject, log, log, setProject |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public IsFileSelected()
| Method Detail |
public void setFile(java.io.File file)
file - the file to check if if passes the embedded selector.public void setBaseDir(java.io.File baseDir)
baseDir - the base directory to use, if null use the project's
basedir.public void validate()
validate in class AbstractSelectorContainerpublic boolean eval()
eval in interface Condition
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||