Interface UniversalFilter.Selector
-
- All Known Implementing Classes:
RelativePathSelector
- Enclosing class:
- UniversalFilter
public static interface UniversalFilter.SelectorA selector instance maps call backs onFilterstoNodeStateinstances, 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 NodeStateselect(@NotNull UniversalFilter filter, @NotNull String name, @NotNull NodeState before, @NotNull NodeState after)Map a node event.@NotNull NodeStateselect(@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 ornullforEventFilter.includeAdd(PropertyState)after- after state ornullforEventFilter.includeDelete(PropertyState)- Returns:
- a
NodeStateinstance 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 ornullforEventFilter.includeAdd(String, NodeState)after- after state ornullforEventFilter.includeDelete(String, NodeState)- Returns:
- a NodeState instance for basing the filtering criterion (predicate) upon
-
-