You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by "Stefan Egli (JIRA)" <ji...@apache.org> on 2016/10/24 12:17:58 UTC

[jira] [Commented] (JCR-4016) extend path and property filtering of observation event

    [ https://issues.apache.org/jira/browse/JCR-4016?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15601799#comment-15601799 ] 

Stefan Egli commented on JCR-4016:
----------------------------------

Many use cases that would rely on this could benefit/be replaced with glob support as suggested in JCR-4044

> 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)