de.cau.cs.kieler.karma.conditions
Class TrueCondition

java.lang.Object
  extended by de.cau.cs.kieler.karma.ICustomCondition<EObject>
      extended by de.cau.cs.kieler.karma.conditions.TrueCondition
All Implemented Interfaces:
ICondition<EObject>

public class TrueCondition
extends ICustomCondition<EObject>

A condition that is always true. Should mainly be used for testing purposes.

Rating red

Field Summary
 
Fields inherited from class de.cau.cs.kieler.karma.ICustomCondition
key, value
 
Constructor Summary
TrueCondition()
           
 
Method Summary
 boolean evaluate(EObject object)
          always return true.
 
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

TrueCondition

public TrueCondition()
Method Detail

evaluate

public boolean evaluate(EObject object)
always return true.

Parameters:
object - the input object
Returns:
true