Class ZipArbitraryFileCacheStrategy
- java.lang.Object
-
- jenkins.plugins.jobcacher.arbitrary.AbstractCompressingArbitraryFileCacheStrategy
-
- jenkins.plugins.jobcacher.arbitrary.ZipArbitraryFileCacheStrategy
-
- All Implemented Interfaces:
Serializable
,ArbitraryFileCacheStrategy
public class ZipArbitraryFileCacheStrategy extends AbstractCompressingArbitraryFileCacheStrategy
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ZipArbitraryFileCacheStrategy()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
compress(FilePath source, String includes, String excludes, boolean useDefaultExcludes, FilePath target)
protected String
getArchiveExtension()
protected void
uncompress(FilePath source, FilePath target)
-
Methods inherited from class jenkins.plugins.jobcacher.arbitrary.AbstractCompressingArbitraryFileCacheStrategy
cache, createCacheName, restore
-
-
-
-
Method Detail
-
getArchiveExtension
protected String 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
-
-