public abstract class BaseExtendSelector extends BaseSelector implements ExtendFileSelector
| Modifier and Type | Field and Description |
|---|---|
protected Parameter[] |
parameters
The passed in parameter array.
|
description, location, project| Constructor and Description |
|---|
BaseExtendSelector()
Default constructor.
|
| Modifier and Type | Method and Description |
|---|---|
protected Parameter[] |
getParameters()
Allows access to the parameters gathered and set within the
<custom> tag.
|
abstract boolean |
isSelected(java.io.File basedir,
java.lang.String filename,
java.io.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.
|
getError, setError, setError, validate, verifySettingscheckAttributesAllowed, checkChildrenAllowed, circularReference, clone, dieOnCircularReference, dieOnCircularReference, dieOnCircularReference, getCheckedRef, getCheckedRef, getCheckedRef, getCheckedRef, getDataTypeName, getRefid, invokeCircularReferenceCheck, isChecked, isReference, noChildrenAllowed, pushAndInvokeCircularReferenceCheck, setChecked, setRefid, tooManyAttributes, toStringgetDescription, getLocation, getProject, log, log, setDescription, setLocation, setProjectprotected Parameter[] parameters
public void setParameters(Parameter[] parameters)
setParameters in interface Parameterizableparameters - the complete set of parameters for this selectorprotected Parameter[] getParameters()
public abstract boolean isSelected(java.io.File basedir,
java.lang.String filename,
java.io.File file)
throws BuildException
isSelected in interface FileSelectorisSelected in class BaseSelectorbasedir - A java.io.File object for the base directoryfilename - The name of the file to checkfile - A File object for this filenameBuildException - if an error occurs