This is the interface to be used by all custom selectors, those that are called through the <custom> tag. It is the amalgamation of two interfaces, the FileSelector and the Paramterizable interface. Note that you will almost certainly want the default behaviour for handling Parameters, so you probably want to use the BaseExtendSelector class as the base class for your custom selector rather than implementing this interface from scratch.
author |
Hans Lellelid hans@xmpl.org (Phing) |
---|---|
author |
Bruce Atherton bruce@callenish.com (Ant) |
package |
phing.types.selectors |
isSelected(\PhingFile $basedir, string $filename, \PhingFile $file) : \whether
throws |
if the selector was not configured correctly |
---|
string
The name of the file to check
\whether
the file should be selected or not
setParameters( $parameters) : mixed
mixed