de.enough.polish.ant.requirements
Class NotRelation
java.lang.Object
de.enough.polish.ant.requirements.RequirementContainer
de.enough.polish.ant.requirements.NotRelation
- All Implemented Interfaces:
- DeviceFilter
public class NotRelation
- extends RequirementContainer
Contains or several requirements which must not be met by the device.
Copyright Enough Software 2004 - 2011
history
15-Feb-2004 - rob creation
- Author:
- Robert Virkus, robert@enough.de
|
Constructor Summary |
NotRelation()
Creates a new not relation. |
|
Method Summary |
boolean |
isMet(Device device)
Checks if this filter allows the given device. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NotRelation
public NotRelation()
- Creates a new not relation.
isMet
public boolean isMet(Device device)
- Description copied from interface:
DeviceFilter
- Checks if this filter allows the given device.
- Parameters:
device - the device which should be tested against this filter.
- Returns:
- true when this filter is satisfied by the given device.