sling-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From k...@apache.org
Subject svn commit: r1657348 - /sling/trunk/contrib/extensions/validation/api/src/main/java/org/apache/sling/validation/api/ValidationService.java
Date Wed, 04 Feb 2015 17:56:49 GMT
Author: kwin
Date: Wed Feb  4 17:56:48 2015
New Revision: 1657348

URL: http://svn.apache.org/r1657348
Log:
SLING-4387 clarify javadoc

Modified:
    sling/trunk/contrib/extensions/validation/api/src/main/java/org/apache/sling/validation/api/ValidationService.java

Modified: sling/trunk/contrib/extensions/validation/api/src/main/java/org/apache/sling/validation/api/ValidationService.java
URL: http://svn.apache.org/viewvc/sling/trunk/contrib/extensions/validation/api/src/main/java/org/apache/sling/validation/api/ValidationService.java?rev=1657348&r1=1657347&r2=1657348&view=diff
==============================================================================
--- sling/trunk/contrib/extensions/validation/api/src/main/java/org/apache/sling/validation/api/ValidationService.java
(original)
+++ sling/trunk/contrib/extensions/validation/api/src/main/java/org/apache/sling/validation/api/ValidationService.java
Wed Feb  4 17:56:48 2015
@@ -81,7 +81,8 @@ public interface ValidationService {
      * @param resource the root resource which is validated (including all its children resources
having a valid resource type)
      * @param enforceValidation if {@code true} will throw an IllegalArgumentException in
case a validation model could not be found for a (not-ignored) resource type
      * set on one of the resource's children. 
-     * @param ignoredResourceTypes a set of resource types which should not be validated
(e.g. nt:unstructured, the default primary node type in case of underlying an JCR for nodes
not having a sling:resourceType property being set)
+     * @param ignoredResourceTypes a set of resource types which should not be validated
(e.g. nt:unstructured, the default primary node type in case of underlying an JCR for nodes
not having a sling:resourceType property being set).
+     * May be {@code null} to not ignore any resource types.
      * @return the aggregated {@link ValidationResult} over all child resource validations
      * @throws IllegalStateException in case an invalid validation model was found
      * @throws IllegalArgumentException in case resourceType is absolute but outside of the
search paths or if no validation model could be found (and enforceValidation is {@code true}).



Mime
View raw message