Class Selectors
java.lang.Object
org.apache.jackrabbit.oak.plugins.observation.filter.Selectors
Common
Selector
implementations-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final UniversalFilter.Selector
A selector returning the parent node of the item for which a call back onEventFilter
was called.static final UniversalFilter.Selector
A selector returning the node for which a call back onEventFilter
was called or a non existing node in the case of a property call back. -
Method Summary
Modifier and TypeMethodDescriptionstatic @NotNull UniversalFilter.Selector
fromParent
(@NotNull String relPath) A selector returning the node atrelPath
relative toPARENT
static @NotNull UniversalFilter.Selector
A selector returning the node atrelPath
relative toTHIS
-
Field Details
-
THIS
A selector returning the node for which a call back onEventFilter
was called or a non existing node in the case of a property call back. -
PARENT
A selector returning the parent node of the item for which a call back onEventFilter
was called.
-
-
Method Details
-
fromThis
A selector returning the node atrelPath
relative toTHIS
- Parameters:
relPath
- relative path- Returns:
- selector for
relPath
fromTHIS
-
fromParent
@NotNull public static @NotNull UniversalFilter.Selector fromParent(@NotNull @NotNull String relPath) A selector returning the node atrelPath
relative toPARENT
- Parameters:
relPath
- relative path- Returns:
- selector for
relPath
fromPARENT
-