org.argouml.cognitive
Interface ControlMech
- All Known Implementing Classes:
- StandardCM
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
boolean isRelevant(Critic c,
Designer d)
- Parameters:
c
- the criticd
- the designer
- Returns:
- true f the critic is relevant for the given designer