Class Not
java.lang.Object
org.apache.tools.ant.types.resources.selectors.Not
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Set the ResourceSelector.boolean
Return true if this Resource is selected.
-
Constructor Details
-
Not
public Not()Default constructor. -
Not
Convenience constructor.- Parameters:
s
- the ResourceSelector to negate.
-
-
Method Details
-
add
Set the ResourceSelector.- Parameters:
s
- the ResourceSelector to negate.- Throws:
IllegalStateException
- if already set.
-
isSelected
Return true if this Resource is selected.- Specified by:
isSelected
in interfaceResourceSelector
- Parameters:
r
- the Resource to check.- Returns:
- whether the Resource was selected.
-