This is the interface to be used by all selectors.
| author | Hans Lellelid, hans@xmpl.org (Phing) |
|---|---|
| author | Bruce Atherton, bruce@callenish.com (Ant) |
| package | phing.types.selectors |
isSelected(\PhingFile $basedir, \filename $filename, \PhingFile $file) : \whether
If there is a problem with the setup of a selector, it can throw a BuildException to indicate the problem.
\basedirA PhingFile object for the base directory
\filenameThe name of the file to check
\fileA PhingFile object for this filename
\BuildException |
if the selector was not configured correctly |
|---|
\whetherthe file should be selected or not