public class BasicReleaseStrategy extends ReleaseStrategy
SearchQuery that has 'nodes' set for it and the changed
node is not one of those. This release strategy is in fact the original one
and will allways be the first in the hierarchy of the
ChainedReleaseStrategy.ReleaseStrategy.StrategyResult, ReleaseStrategy.Timer| Constructor and Description |
|---|
BasicReleaseStrategy() |
| 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.
|
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 boolean doEvaluate(RelationEvent event, SearchQuery query, List<MMObjectNode> cachedResult)
ReleaseStrategydoEvaluate in class ReleaseStrategyevent - a relation eventMMBase 1.9-SNAPSHOT - ${javadoctimestamp}