Class Selectors
- java.lang.Object
-
- org.apache.jackrabbit.oak.plugins.observation.filter.Selectors
-
public final class Selectors extends java.lang.Object
CommonSelector
implementations
-
-
Field Summary
Fields Modifier and Type Field Description static UniversalFilter.Selector
PARENT
A selector returning the parent node of the item for which a call back onEventFilter
was called.static UniversalFilter.Selector
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.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static @NotNull UniversalFilter.Selector
fromParent(@NotNull java.lang.String relPath)
A selector returning the node atrelPath
relative toPARENT
static @NotNull UniversalFilter.Selector
fromThis(@NotNull java.lang.String relPath)
A selector returning the node atrelPath
relative toTHIS
-
-
-
Field Detail
-
THIS
public static final UniversalFilter.Selector 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
public static final UniversalFilter.Selector PARENT
A selector returning the parent node of the item for which a call back onEventFilter
was called.
-
-
Method Detail
-
fromThis
@NotNull public static @NotNull UniversalFilter.Selector fromThis(@NotNull @NotNull java.lang.String relPath)
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 java.lang.String relPath)
A selector returning the node atrelPath
relative toPARENT
- Parameters:
relPath
- relative path- Returns:
- selector for
relPath
fromPARENT
-
-