de.cau.cs.kieler.core.util
Interface ICondition<T>

Type Parameters:
T - the type for which the condition is used
All Known Implementing Classes:
AnnotationCondition, AnnotationExistsCondition, CompoundCondition, ConnectionSourceCondition, FeatureValueCondition, HasCommentsCondition, ICustomCondition, IEditPartSensitiveCondition, IsCollapsedCondition, ListSizeCondition, LPort.SideCondition, LPort.TypeCondition, NoPortsCondition, PortsCondition, RecursiveAnnotationCondition, TrueCondition

public interface ICondition<T>

Interface for conditions that can be evaluated on a specific object.

Rating proposed yellow
(2010-01-26) msp

Method Summary
 boolean evaluate(T object)
          Evaluate this condition on the given object.
 

Method Detail

evaluate

boolean evaluate(T object)
Evaluate this condition on the given object.

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