blob: 1dcb52272ffb21e03e80c6797f4c9417e3c375e6 [file] [log] [blame]
package org.eclipse.osee.ote;
import java.io.File;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.io.InputStream;
/**
* Store, find and remove jars that are used when running an OTE test server.
*
* The format is <pre>
* rootFolder/symbolicName/md5.jar - the jar
* rootFolder/symbolicName/md5.jar.date - the last time it was accessed
* </pre>
* @author Andrew M. Finkbeiner
*
*/
public interface OTEServerRuntimeCache {
void clearJarCache();
File save(String symbolicName, String md5Digest, InputStream servedBundleIn) throws IOException;
File get(String symbolicName, String md5Digest) throws FileNotFoundException;
}