incubator-sling-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cziege...@apache.org
Subject svn commit: r1222648 - /sling/trunk/installer/core/src/main/java/org/apache/sling/installer/api/tasks/InstallTaskFactory.java
Date Fri, 23 Dec 2011 11:38:08 GMT
Author: cziegeler
Date: Fri Dec 23 11:38:07 2011
New Revision: 1222648

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

Modified:
    sling/trunk/installer/core/src/main/java/org/apache/sling/installer/api/tasks/InstallTaskFactory.java

Modified: sling/trunk/installer/core/src/main/java/org/apache/sling/installer/api/tasks/InstallTaskFactory.java
URL: http://svn.apache.org/viewvc/sling/trunk/installer/core/src/main/java/org/apache/sling/installer/api/tasks/InstallTaskFactory.java?rev=1222648&r1=1222647&r2=1222648&view=diff
==============================================================================
--- sling/trunk/installer/core/src/main/java/org/apache/sling/installer/api/tasks/InstallTaskFactory.java
(original)
+++ sling/trunk/installer/core/src/main/java/org/apache/sling/installer/api/tasks/InstallTaskFactory.java
Fri Dec 23 11:38:07 2011
@@ -30,6 +30,10 @@ public interface InstallTaskFactory {
     /**
      * Creates an {@link InstallTask} for the resource or
      * <code>null</code> if the factory does not support the resource.
+     *
+     * The factory should not alter the state of the resources,
+     * therefore it's not allowed to call one of the setState methods
+     * on the task resource group!
      */
     InstallTask createTask(final TaskResourceGroup toActivate);
 }



Mime
View raw message