Class Selectors
- java.lang.Object
-
- org.apache.jackrabbit.oak.plugins.observation.filter.Selectors
-
public final class Selectors extends Object
CommonSelectorimplementations
-
-
Field Summary
Fields Modifier and Type Field Description static UniversalFilter.SelectorPARENTA selector returning the parent node of the item for which a call back onEventFilterwas called.static UniversalFilter.SelectorTHISA 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
All Methods Static Methods Concrete Methods Modifier and Type Method Description static @NotNull UniversalFilter.SelectorfromParent(@NotNull String relPath)A selector returning the node atrelPathrelative toPARENTstatic @NotNull UniversalFilter.SelectorfromThis(@NotNull String relPath)A selector returning the node atrelPathrelative toTHIS
-
-
-
Field Detail
-
THIS
public static final UniversalFilter.Selector 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
public static final UniversalFilter.Selector PARENT
A selector returning the parent node of the item for which a call back onEventFilterwas called.
-
-
Method Detail
-
fromThis
@NotNull public static @NotNull UniversalFilter.Selector fromThis(@NotNull @NotNull String relPath)
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
-
-