Stefan Egli created JCR-4016:
--------------------------------

             Summary: extend path and property filtering of observation event
                 Key: JCR-4016
                 URL: https://issues.apache.org/jira/browse/JCR-4016
             Project: Jackrabbit Content Repository
          Issue Type: Improvement
          Components: observation
    Affects Versions: 2.13.3
            Reporter: Stefan Egli


The current {{JackrabbitEventFilter}} allows to specify a number of paths, a 
number of exclude paths and a flag isDeep indicating if it wants to dive into 
those registered paths. While this provides some degree of filtering already, 
it might be more efficient to allow for even more fine grained filtering 
additionally.

This ticket is to suggest introducing a filter along the lines of the following:
{code}
public interface Filter {

    enum FilterResult {
        INCLUDE, INCLUDE_SKIP_CHILDREN,
        EXCLUDE, EXCLUDE_SKIP_CHILDREN };
    
    FilterResult filter(String nodeOrPropertyPath);
}
{code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to