java.lang.Object
org.apache.jackrabbit.oak.plugins.observation.filter.Selectors

public final class Selectors extends Object
Common Selector implementations
  • Field Details

    • THIS

      public static final UniversalFilter.Selector THIS
      A selector returning the node for which a call back on EventFilter 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 on EventFilter was called.
  • Method Details

    • fromThis

      @NotNull public static @NotNull UniversalFilter.Selector fromThis(@NotNull @NotNull String relPath)
      A selector returning the node at relPath relative to THIS
      Parameters:
      relPath - relative path
      Returns:
      selector for relPath from THIS
    • fromParent

      @NotNull public static @NotNull UniversalFilter.Selector fromParent(@NotNull @NotNull String relPath)
      A selector returning the node at relPath relative to PARENT
      Parameters:
      relPath - relative path
      Returns:
      selector for relPath from PARENT