java.lang.Cloneable, Condition, SelectorContainerpublic class IsFileSelected extends AbstractSelectorContainer implements Condition
description, location, project| Constructor | Description |
|---|---|
IsFileSelected() |
| Modifier and Type | Method | Description |
|---|---|---|
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.
|
add, addAnd, addContains, addContainsRegexp, addCustom, addDate, addDepend, addDepth, addDifferent, addExecutable, addFilename, addMajority, addModified, addNone, addNot, addOr, addOwnedBy, addPosixGroup, addPosixPermissions, addPresent, addReadable, addSelector, addSize, addSymlink, addType, addWritable, appendSelector, clone, dieOnCircularReference, getCheckedRef, getSelectors, hasSelectors, selectorCount, selectorElements, toStringcheckAttributesAllowed, checkChildrenAllowed, circularReference, dieOnCircularReference, dieOnCircularReference, getCheckedRef, getCheckedRef, getCheckedRef, getDataTypeName, getRefid, invokeCircularReferenceCheck, isChecked, isReference, noChildrenAllowed, pushAndInvokeCircularReferenceCheck, setChecked, setRefid, tooManyAttributesequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetDescription, getLocation, getProject, log, log, setDescription, setLocation, setProjectpublic 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 AbstractSelectorContainer