Class Selectors
java.lang.Object
org.apache.jackrabbit.oak.plugins.observation.filter.Selectors
Common
Selector implementations-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final UniversalFilter.SelectorA selector returning the parent node of the item for which a call back onEventFilterwas called.static final UniversalFilter.SelectorA selector returning the node for which a call back onEventFilterwas called or a non existing node in the case of a property call back. -
Method Summary
Modifier and TypeMethodDescriptionstatic @NotNull UniversalFilter.SelectorfromParent(@NotNull String relPath) A selector returning the node atrelPathrelative toPARENTstatic @NotNull UniversalFilter.SelectorA selector returning the node atrelPathrelative toTHIS
-
Field Details
-
THIS
A selector returning the node for which a call back onEventFilterwas 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 onEventFilterwas called.
-
-
Method Details
-
fromThis
A selector returning the node atrelPathrelative toTHIS- Parameters:
relPath- relative path- Returns:
- selector for
relPathfromTHIS
-
fromParent
@NotNull public static @NotNull UniversalFilter.Selector fromParent(@NotNull @NotNull String relPath) A selector returning the node atrelPathrelative toPARENT- Parameters:
relPath- relative path- Returns:
- selector for
relPathfromPARENT
-