Interface ArbitraryFileCacheStrategy
-
- All Superinterfaces:
Serializable
- All Known Implementing Classes:
AbstractCompressingArbitraryFileCacheStrategy
,SimpleArbitraryFileCacheStrategy
,TarArbitraryFileCacheStrategy
,ZipArbitraryFileCacheStrategy
public interface ArbitraryFileCacheStrategy extends Serializable
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
cache(FilePath source, String includes, String excludes, boolean useDefaultExcludes, ObjectPath target, FilePath workspace)
String
createCacheName(String basename)
void
restore(ObjectPath source, FilePath target, FilePath workspace)
-
-
-
Method Detail
-
cache
void cache(FilePath source, String includes, String excludes, boolean useDefaultExcludes, ObjectPath target, FilePath workspace) throws IOException, InterruptedException
- Throws:
IOException
InterruptedException
-
restore
void restore(ObjectPath source, FilePath target, FilePath workspace) throws IOException, InterruptedException
- Throws:
IOException
InterruptedException
-
-