public interface FilterProvider extends ChangeSetFilter
EventFilter for observation
events and a filter for commits.
In order to support OAK-4908 a FilterProvider extends ChangeSetFilter
| Modifier and Type | Method and Description |
|---|---|
FilterConfigMBean |
getConfigMBean() |
EventAggregator |
getEventAggregator()
Allows providers to supply an EventAggregator that
is used to adjust (aggregate) the event identifier before event
creation (ie after event filtering).
|
EventFilter |
getFilter(NodeState before,
NodeState after)
Factory method for creating a
Filter for the passed before and after
states. |
Iterable<String> |
getSubTrees()
A set of paths whose subtrees include all events of this filter.
|
boolean |
includeCommit(String sessionId,
CommitInfo info)
Filter whole commits.
|
excludesboolean includeCommit(String sessionId, CommitInfo info)
true will be further processed to create individual events.sessionId - id of the filtering (this) sessioninfo - commit info of the commit or null if not availabletrue if observation events should be created from this
commit, false otherwise.ObserverEventFilter getFilter(NodeState before, NodeState after)
Filter for the passed before and after
states.before - before stateafter - after stateFilter instanceIterable<String> getSubTrees()
FilterBuilder.addSubTree(String)FilterConfigMBean getConfigMBean()
EventAggregator getEventAggregator()
"Copyright © 2010 - 2017 Adobe Systems Incorporated. All Rights Reserved"