org.apache.tools.ant.types.resources.selectors
public class Not extends Object implements ResourceSelector
Since: Ant 1.7
| Constructor Summary | |
|---|---|
| Not()
Default constructor. | |
| Not(ResourceSelector s)
Convenience constructor. | |
| Method Summary | |
|---|---|
| void | add(ResourceSelector s)
Set the ResourceSelector. |
| boolean | isSelected(Resource r)
Return true if this Resource is selected. |
Parameters: s the ResourceSelector to negate.
Parameters: s the ResourceSelector to negate.
Throws: IllegalStateException if already set.
Parameters: r the Resource to check.
Returns: whether the Resource was selected.