org.apache.tools.ant.types.selectors
public abstract class BaseExtendSelector extends BaseSelector implements ExtendFileSelector
Since: 1.5
Field Summary | |
---|---|
protected Parameter[] | parameters The passed in parameter array. |
Constructor Summary | |
---|---|
BaseExtendSelector()
Default constructor. |
Method Summary | |
---|---|
protected Parameter[] | getParameters()
Allows access to the parameters gathered and set within the
<custom> tag.
|
abstract boolean | isSelected(File basedir, String filename, File file)
Method that each selector will implement to create their
selection behaviour. |
void | setParameters(Parameter[] parameters)
Set all the Parameters for this custom selector, collected by
the ExtendSelector class.
|
Returns: the set of parameters defined for this selector
Parameters: basedir A java.io.File object for the base directory filename The name of the file to check file A File object for this filename
Returns: whether the file should be selected or not
Throws: BuildException if an error occurs
Parameters: parameters the complete set of parameters for this selector