Class And
java.lang.Object
org.apache.tools.ant.ProjectComponent
org.apache.tools.ant.types.DataType
org.apache.tools.ant.types.resources.selectors.ResourceSelectorContainer
org.apache.tools.ant.types.resources.selectors.And
-
Field Summary
Fields inherited from class org.apache.tools.ant.ProjectComponent
description, location, project -
Constructor Summary
ConstructorsConstructorDescriptionAnd()Default constructor.And(ResourceSelector... r) Convenience constructor. -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturn true if this Resource is selected.Methods inherited from class org.apache.tools.ant.types.resources.selectors.ResourceSelectorContainer
add, dieOnCircularReference, getResourceSelectors, getSelectors, hasSelectors, selectorCountMethods inherited from class org.apache.tools.ant.types.DataType
checkAttributesAllowed, checkChildrenAllowed, circularReference, clone, dieOnCircularReference, dieOnCircularReference, getCheckedRef, getCheckedRef, getCheckedRef, getCheckedRef, getCheckedRef, getDataTypeName, getRefid, invokeCircularReferenceCheck, isChecked, isReference, noChildrenAllowed, pushAndInvokeCircularReferenceCheck, setChecked, setRefid, tooManyAttributes, toStringMethods inherited from class org.apache.tools.ant.ProjectComponent
getDescription, getLocation, getProject, log, log, setDescription, setLocation, setProject
-
Constructor Details
-
And
public And()Default constructor. -
And
Convenience constructor.- Parameters:
r- the ResourceSelector[] to add.
-
-
Method Details
-
isSelected
Return true if this Resource is selected.- Specified by:
isSelectedin interfaceResourceSelector- Parameters:
r- the Resource to check.- Returns:
- whether the Resource was selected.
-