You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Radu Cotescu (JIRA)" <ji...@apache.org> on 2016/07/13 09:40:20 UTC
[jira] [Comment Edited] (SLING-5837) Allow
org.apache.sling.api.resource.observation.ResourceChangeListener to define
glob patterns for resource matching
[ https://issues.apache.org/jira/browse/SLING-5837?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15374716#comment-15374716 ]
Radu Cotescu edited comment on SLING-5837 at 7/13/16 9:39 AM:
--------------------------------------------------------------
Since the patch did not change the Java API what do we increase: micro or minor?
was (Author: radu.cotescu):
Since the changes did not change the Java API what do we increase: micro or minor?
> Allow org.apache.sling.api.resource.observation.ResourceChangeListener to define glob patterns for resource matching
> --------------------------------------------------------------------------------------------------------------------
>
> Key: SLING-5837
> URL: https://issues.apache.org/jira/browse/SLING-5837
> Project: Sling
> Issue Type: Improvement
> Components: API
> Affects Versions: API 2.12.0
> Reporter: Radu Cotescu
> Assignee: Radu Cotescu
> Attachments: SLING-5837.patch
>
>
> While the previous way to interact with Resource change events through registering {{EventHandler}} sevices allowed defining glob patterns for matching the watched paths, the current state of the {{ResourceChangeListener}} only allows subscribing to events for concrete paths.
> In order to allow for the same filtering flexibility, {{ResourceChangeListener}} should also accept glob patterns for its {{resource.paths}} configuration property.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)