]> git.argeo.org Git - gpl/argeo-slc.git/blob - 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
1 package org.argeo.slc.core.execution;
2
3 import org.springframework.core.io.Resource;
4
5 public interface ExecutionResources {
6 /** Allocates a local file in the writable area and return it as a resource. */
7 public Resource getWritableResource(String relativePath);
8
9 /**
10 * Returns the resource as a file path. If the resource is not writable it
11 * is copied as a file in the writable area and the path to this local file
12 * is returned.
13 */
14 public String getAsOsPath(Resource resource, Boolean overwrite);
15 }