Class Exists
java.lang.Object
org.apache.tools.ant.types.resources.selectors.Exists
- All Implemented Interfaces:
ResourceSelector
public class Exists extends java.lang.Object implements ResourceSelector
Exists ResourceSelector.
- Since:
- Ant 1.7
-
Constructor Summary
Constructors Constructor Description Exists() -
Method Summary
Modifier and Type Method Description booleanisSelected(Resource r)Return true if this Resource is selected.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
Exists
public Exists()
-
-
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.
-