X-Git-Url: http://git.argeo.org/?a=blobdiff_plain;ds=inline;f=cms%2Forg.argeo.slc.spring%2Fsrc%2Forg%2Fargeo%2Fslc%2Fcore%2Fexecution%2FExecutionResources.java;fp=cms%2Forg.argeo.slc.spring%2Fsrc%2Forg%2Fargeo%2Fslc%2Fcore%2Fexecution%2FExecutionResources.java;h=0000000000000000000000000000000000000000;hb=6fc94d69efe089414ac9e63bde3efab1cbf7b7ca;hp=772330a78c553fda0547c89e6a69c81d88f227fa;hpb=b36c62642bd0db11b3133b369cc026fd4b7a1ec6;p=gpl%2Fargeo-slc.git diff --git a/cms/org.argeo.slc.spring/src/org/argeo/slc/core/execution/ExecutionResources.java b/cms/org.argeo.slc.spring/src/org/argeo/slc/core/execution/ExecutionResources.java deleted file mode 100644 index 772330a78..000000000 --- a/cms/org.argeo.slc.spring/src/org/argeo/slc/core/execution/ExecutionResources.java +++ /dev/null @@ -1,33 +0,0 @@ -package org.argeo.slc.core.execution; - -import java.io.File; - -import org.springframework.core.io.Resource; - -/** Provides write access to resources during execution */ -public interface ExecutionResources { - /** The base directory where this execution can write */ - public File getWritableBaseDir(); - - /** Allocates a local file in the writable area and return it as a resource. */ - public Resource getWritableResource(String relativePath); - - /** - * Allocates a local file in the writable area and return it as a fully - * qualified OS path. - */ - public String getWritableOsPath(String relativePath); - - /** - * Allocates a local file in the writable area and return it as a - * {@link File}. - */ - public File getWritableOsFile(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); -}