de.enough.polish.ant.requirements
Class NotRelation

java.lang.Object
  extended by de.enough.polish.ant.requirements.RequirementContainer
      extended by 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

Field Summary
 
Fields inherited from class de.enough.polish.ant.requirements.RequirementContainer
requiredIdentifiers
 
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 de.enough.polish.ant.requirements.RequirementContainer
add, addConfiguredAnd, addConfiguredNand, addConfiguredNot, addConfiguredOr, addConfiguredRequirement, addConfiguredXor, addRequirement, getFilters, getRequiredIdentifiers
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NotRelation

public NotRelation()
Creates a new not relation.

Method Detail

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.