protected abstract static class ConstraintsMatchingStrategy.AbstractConstraintMatcher extends Object
| Modifier | Constructor and Description |
|---|---|
protected |
AbstractConstraintMatcher() |
| Modifier and Type | Method and Description |
|---|---|
abstract boolean |
eventApplies(Map<String,Object> valuesToMatch,
NodeEvent event) |
abstract boolean |
nodeMatchesConstraint(Map<String,Object> valuesToMatch,
NodeEvent event) |
abstract String |
toString() |
public abstract boolean nodeMatchesConstraint(Map<String,Object> valuesToMatch, NodeEvent event)
valuesToMatch - the field values that the constraint value will have to be matched against.
this will sometimes be the 'oldValues' and sometimes be the 'newValues' from the event.public abstract boolean eventApplies(Map<String,Object> valuesToMatch, NodeEvent event)
valuesToMatch - map of (changed) fields with their valuesevent - the event that has occuredMMBase 1.9-SNAPSHOT - ${javadoctimestamp}