]> git.argeo.org Git - gpl/argeo-slc.git/blobdiff - cms/org.argeo.slc.spring/src/org/argeo/slc/core/execution/ExecutionResources.java
Clarify overall project structure.
[gpl/argeo-slc.git] / cms / org.argeo.slc.spring / src / org / argeo / slc / core / execution / ExecutionResources.java
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 (file)
index 772330a..0000000
+++ /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);
-}