Interface UniversalFilter.Selector
-
- All Known Implementing Classes:
RelativePathSelector
- Enclosing class:
- UniversalFilter
public static interface UniversalFilter.Selector
A selector instance maps call backs onFilters
toNodeState
instances, which should be used for determining inclusion or exclusion of the associated event.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description @NotNull NodeState
select(@NotNull UniversalFilter filter, @NotNull String name, @NotNull NodeState before, @NotNull NodeState after)
Map a node event.@NotNull NodeState
select(@NotNull UniversalFilter filter, @Nullable PropertyState before, @Nullable PropertyState after)
Map a property event.
-
-
-
Method Detail
-
select
@NotNull @NotNull NodeState select(@NotNull @NotNull UniversalFilter filter, @Nullable @Nullable PropertyState before, @Nullable @Nullable PropertyState after)
Map a property event.- Parameters:
filter
- filter instance on which respective call back occurred.before
- before state ornull
forEventFilter.includeAdd(PropertyState)
after
- after state ornull
forEventFilter.includeDelete(PropertyState)
- Returns:
- a
NodeState
instance for basing the filtering criterion (predicate) upon
-
select
@NotNull @NotNull NodeState select(@NotNull @NotNull UniversalFilter filter, @NotNull @NotNull String name, @NotNull @NotNull NodeState before, @NotNull @NotNull NodeState after)
Map a node event.- Parameters:
filter
- filter instance on which respective call back occurred.name
- name of the child node statebefore
- before state ornull
forEventFilter.includeAdd(String, NodeState)
after
- after state ornull
forEventFilter.includeDelete(String, NodeState)
- Returns:
- a NodeState instance for basing the filtering criterion (predicate) upon
-
-