de.cau.cs.kieler.keg.custom
Class NoPortsCondition

java.lang.Object
  extended by de.cau.cs.kieler.karma.ICustomCondition<Node>
      extended by de.cau.cs.kieler.keg.custom.NoPortsCondition
All Implemented Interfaces:
ICondition<Node>

public class NoPortsCondition
extends ICustomCondition<Node>

The condition for a node without ports.

Rating red

Field Summary
 
Fields inherited from class de.cau.cs.kieler.karma.ICustomCondition
key, value
 
Constructor Summary
NoPortsCondition()
           
 
Method Summary
 boolean evaluate(Node node)
          Evaluate this condition on the given object.
 
Methods inherited from class de.cau.cs.kieler.karma.ICustomCondition
initialize
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NoPortsCondition

public NoPortsCondition()
Method Detail

evaluate

public boolean evaluate(Node node)
Evaluate this condition on the given object.

Parameters:
node - a target object
Returns:
true if the condition is met for the object