Interface EventAggregator
public interface EventAggregator
An EventAggregator can be provided via a FilterProvider
and is then used to 'aggregate' an event at creation time
(ie after filtering).
Aggregation in this context means to have the event identifier not be the path (as usual) but one of its parents. This allows to have client code use an aggregating filter and ignore the event paths but only inspect the event identifier which is then the aggregation parent node.
-
Method Summary
Modifier and TypeMethodDescriptionintaggregate(NodeState root, List<ChildNodeEntry> parents, PropertyState propertyState) Aggregates a property changeintaggregate(NodeState root, List<ChildNodeEntry> parents, ChildNodeEntry childNodeState) Aggregates a node change
-
Method Details
-
aggregate
Aggregates a property change- Returns:
- 0 or negative for no aggregation, positive indicating how many levels to aggregate upwards the tree.
-
aggregate
Aggregates a node change- Returns:
- 0 or negative for no aggregation, positive indicating how many levels to aggregate upwards the tree.
-