ResourceSelectorpublic class Not extends java.lang.Object implements ResourceSelector
| Constructor | Description |
|---|---|
Not() |
Default constructor.
|
Not(ResourceSelector s) |
Convenience constructor.
|
| Modifier and Type | Method | Description |
|---|---|---|
void |
add(ResourceSelector s) |
Set the ResourceSelector.
|
boolean |
isSelected(Resource r) |
Return true if this Resource is selected.
|
public Not()
public Not(ResourceSelector s)
s - the ResourceSelector to negate.public void add(ResourceSelector s)
s - the ResourceSelector to negate.java.lang.IllegalStateException - if already set.public boolean isSelected(Resource r)
isSelected in interface ResourceSelectorr - the Resource to check.