org.argouml.cognitive.critics
Interface ControlMech
- All Known Implementing Classes:
- org.argouml.cognitive.critics.CompositeCM
- public interface ControlMech
A ControlMech determines when a Critic should be active. New
ControlMech's can be added to add value to existing Critic's. Each
ControlMech implements a isRelevant() predicate that determines if a
given critic is relevant to a given Designer at the current
time.
isRelevant
public boolean isRelevant(Critic c,
Designer d)
- Parameters:
c - the criticd - the designer
- Returns:
- true f the critic is relevant for the given designer