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() |
@Nullable EventAggregator |
getEventAggregator()
Allows providers to supply an optional EventAggregator that
is used to adjust (aggregate) the event identifier before event
creation (ie after event filtering).
|
@NotNull EventFilter |
getFilter(@NotNull NodeState before,
@NotNull NodeState after)
Factory method for creating a
Filter for the passed before and after
states. |
@NotNull Iterable<String> |
getSubTrees()
A set of paths whose subtrees include all events of this filter.
|
boolean |
includeCommit(@NotNull String sessionId,
@Nullable CommitInfo info)
Filter whole commits.
|
excludesboolean includeCommit(@NotNull
@NotNull String sessionId,
@Nullable
@Nullable 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.Observer@NotNull @NotNull EventFilter getFilter(@NotNull @NotNull NodeState before, @NotNull @NotNull NodeState after)
Filter for the passed before and after
states.before - before stateafter - after stateFilter instance@NotNull @NotNull Iterable<String> getSubTrees()
FilterBuilder.addSubTree(String)FilterConfigMBean getConfigMBean()
@Nullable @Nullable EventAggregator getEventAggregator()
Copyright © 2010 - 2020 Adobe. All Rights Reserved