de.cau.cs.kieler.karma
Class AnnotationCondition
java.lang.Object
de.cau.cs.kieler.karma.ICustomCondition<EObject>
de.cau.cs.kieler.karma.AnnotationCondition
- All Implemented Interfaces:
- ICondition<EObject>
public class AnnotationCondition
- extends ICustomCondition<EObject>
Condition that works on annotations.
- Rating

Method Summary |
boolean |
evaluate(EObject object)
Evaluate this condition on the given object. |
void |
initialize(String thekey,
String thevalue)
Feed the condition with some initial values because extension points support only the
standard constructor. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AnnotationCondition
public AnnotationCondition()
evaluate
public boolean evaluate(EObject object)
- Evaluate this condition on the given object.
- Parameters:
object
- a target object
- Returns:
- true if the condition is met for the object
initialize
public void initialize(String thekey,
String thevalue)
- Feed the condition with some initial values because extension points support only the
standard constructor.
- Overrides:
initialize
in class ICustomCondition<EObject>
- Parameters:
thekey
- a key for referencing something.thevalue
- the value the condition could evaluate for.