]> git.argeo.org Git - gpl/argeo-slc.git/blobdiff - runtime/org.argeo.slc.core/src/main/java/org/argeo/slc/core/execution/ExecutionResources.java
FlowNamespace extended (flows in flows, param in arg)
[gpl/argeo-slc.git] / runtime / org.argeo.slc.core / src / main / java / org / argeo / slc / core / execution / ExecutionResources.java
index 53f5af79af837377fe9f409863813af7c75d7b91..6886a0bd129cbcb04ee40a06e215ebbbb11ed9e3 100644 (file)
@@ -3,7 +3,13 @@ package org.argeo.slc.core.execution;
 import org.springframework.core.io.Resource;
 
 public interface ExecutionResources {
+       /** Allocates a local file in the writable area and return it as a resource. */
        public Resource getWritableResource(String relativePath);
 
+       /**
+        * Returns the resource as a file path. If the resource is not writable it
+        * is copied as a file in the writable area and the path to this local file
+        * is returned.
+        */
        public String getAsOsPath(Resource resource, Boolean overwrite);
 }