public class ConstraintsMatchingStrategy extends ReleaseStrategy
| Modifier and Type | Class and Description |
|---|---|
protected static class |
ConstraintsMatchingStrategy.AbstractConstraintMatcher |
ReleaseStrategy.StrategyResult, ReleaseStrategy.Timer| Constructor and Description |
|---|
ConstraintsMatchingStrategy() |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
doEvaluate(NodeEvent event,
SearchQuery query,
List<MMObjectNode> cachedResult)
implement this method to create your own strategy.
|
protected boolean |
doEvaluate(RelationEvent event,
SearchQuery query,
List<MMObjectNode> cachedResult)
implement this method to create your own strategy.
|
protected static ConstraintsMatchingStrategy.AbstractConstraintMatcher |
findMatcherForConstraint(Constraint constraint)
This method will find a constraint matcher that supports the given constraint, and will return the
UnsupportedConstraintMatcher if none is found.
|
String |
getDescription() |
String |
getName() |
clear, equals, evaluate, evaluate, getAvgEvaluationTimeInMilis, getConstraintsForField, getSortordersForField, getTotalEvaluated, getTotalEvaluationTimeMillis, getTotalPreserved, hashCode, isEnabled, setEnabled, toStringpublic String getName()
getName in class ReleaseStrategypublic String getDescription()
getDescription in class ReleaseStrategyprotected final boolean doEvaluate(NodeEvent event, SearchQuery query, List<MMObjectNode> cachedResult)
ReleaseStrategydoEvaluate in class ReleaseStrategyevent - a node eventprotected final boolean doEvaluate(RelationEvent event, SearchQuery query, List<MMObjectNode> cachedResult)
ReleaseStrategydoEvaluate in class ReleaseStrategyevent - a relation eventprotected static final ConstraintsMatchingStrategy.AbstractConstraintMatcher findMatcherForConstraint(Constraint constraint) throws InvocationTargetException, NoSuchMethodException, InstantiationException, IllegalAccessException
constraint - InvocationTargetExceptionNoSuchMethodExceptionInstantiationExceptionIllegalAccessExceptionMMBase 1.9-SNAPSHOT - ${javadoctimestamp}