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

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

public class PortsCondition
extends ICustomCondition<Node>

The condition for a node with ports.

Rating red

Field Summary
 
Fields inherited from class de.cau.cs.kieler.karma.ICustomCondition
key, value
 
Constructor Summary
PortsCondition()
           
 
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

PortsCondition

public PortsCondition()
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