You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by cz...@apache.org on 2015/09/30 11:00:44 UTC

svn commit: r1705987 - /sling/trunk/bundles/api/src/main/java/org/apache/sling/api/resource/observation/ResourceChangeListener.java

Author: cziegeler
Date: Wed Sep 30 09:00:43 2015
New Revision: 1705987

URL: http://svn.apache.org/viewvc?rev=1705987&view=rev
Log:
Update javadoc

Modified:
    sling/trunk/bundles/api/src/main/java/org/apache/sling/api/resource/observation/ResourceChangeListener.java

Modified: sling/trunk/bundles/api/src/main/java/org/apache/sling/api/resource/observation/ResourceChangeListener.java
URL: http://svn.apache.org/viewvc/sling/trunk/bundles/api/src/main/java/org/apache/sling/api/resource/observation/ResourceChangeListener.java?rev=1705987&r1=1705986&r2=1705987&view=diff
==============================================================================
--- sling/trunk/bundles/api/src/main/java/org/apache/sling/api/resource/observation/ResourceChangeListener.java (original)
+++ sling/trunk/bundles/api/src/main/java/org/apache/sling/api/resource/observation/ResourceChangeListener.java Wed Sep 30 09:00:43 2015
@@ -57,12 +57,17 @@ public interface ResourceChangeListener
      * of all search paths should be observed, the special value {@code .} should be used.
      * If one of the paths is a sub resource of another specified path,
      * the sub path is ignored.
+     * If this property is missing or invalid, the listener is ignored. The type of the
+     * property must either be String, or a String array.
      */
     String PATHS = "resource.paths";
 
     /**
      * Array of change types - optional.
      * If this property is missing, added, removed and changed events are reported.
+     * If this property is invalid, the listener is ignored. The type of the property
+     * must either be String, or a String array. Valid values are the constants from
+     * {@link ResourceChange.ChangeType}.
      */
     String CHANGES = "resource.change.types";