Class ZipArbitraryFileCacheStrategy
java.lang.Object
jenkins.plugins.jobcacher.arbitrary.AbstractCompressingArbitraryFileCacheStrategy
jenkins.plugins.jobcacher.arbitrary.ZipArbitraryFileCacheStrategy
- All Implemented Interfaces:
Serializable
,ArbitraryFileCacheStrategy
- See Also:
-
Constructor Summary
-
Method Summary
Methods inherited from class jenkins.plugins.jobcacher.arbitrary.AbstractCompressingArbitraryFileCacheStrategy
cache, createCacheName, restore
-
Constructor Details
-
ZipArbitraryFileCacheStrategy
public ZipArbitraryFileCacheStrategy()
-
-
Method Details
-
getArchiveExtension
- Specified by:
getArchiveExtension
in classAbstractCompressingArbitraryFileCacheStrategy
-
uncompress
protected void uncompress(FilePath source, FilePath target) throws IOException, InterruptedException - Specified by:
uncompress
in classAbstractCompressingArbitraryFileCacheStrategy
- Throws:
IOException
InterruptedException
-
compress
protected void compress(FilePath source, String includes, String excludes, boolean useDefaultExcludes, FilePath target) throws IOException, InterruptedException - Specified by:
compress
in classAbstractCompressingArbitraryFileCacheStrategy
- Throws:
IOException
InterruptedException
-