public class OrSelector extends BaseSelectorContainer
description, location, project| Constructor and Description |
|---|
OrSelector()
Default constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
isSelected(java.io.File basedir,
java.lang.String filename,
java.io.File file)
Returns true (the file is selected) if any of the other selectors
agree that the file should be selected.
|
java.lang.String |
toString()
Convert the Selectors within this container to a string.
|
add, addAnd, addContains, addContainsRegexp, addCustom, addDate, addDepend, addDepth, addDifferent, addFilename, addMajority, addModified, addNone, addNot, addOr, addPresent, addReadable, addSelector, addSize, addType, addWritable, appendSelector, dieOnCircularReference, getSelectors, hasSelectors, selectorCount, selectorElements, validategetError, setError, setError, verifySettingscheckAttributesAllowed, checkChildrenAllowed, circularReference, clone, dieOnCircularReference, dieOnCircularReference, getCheckedRef, getCheckedRef, getCheckedRef, getCheckedRef, getDataTypeName, getRefid, invokeCircularReferenceCheck, isChecked, isReference, noChildrenAllowed, pushAndInvokeCircularReferenceCheck, setChecked, setRefid, tooManyAttributesgetDescription, getLocation, getProject, log, log, setDescription, setLocation, setProjectpublic java.lang.String toString()
BaseSelectorContainertoString in class BaseSelectorContainerpublic boolean isSelected(java.io.File basedir,
java.lang.String filename,
java.io.File file)
isSelected in interface FileSelectorisSelected in class BaseSelectorContainerbasedir - the base directory the scan is being done fromfilename - the name of the file to checkfile - a java.io.File object for the filename that the selector
can use