Class TarArbitraryFileCacheStrategy
java.lang.Object
jenkins.plugins.jobcacher.arbitrary.AbstractCompressingArbitraryFileCacheStrategy
jenkins.plugins.jobcacher.arbitrary.TarArbitraryFileCacheStrategy
- All Implemented Interfaces:
Serializable
,ArbitraryFileCacheStrategy
- See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic interface
static interface
-
Constructor Summary
ConstructorDescriptionTarArbitraryFileCacheStrategy
(TarArbitraryFileCacheStrategy.CompressingOutputStreamFactory compressingOutputStreamFactory, TarArbitraryFileCacheStrategy.CompressingInputStreamFactory compressingInputStreamFactory, String archiveExtension) -
Method Summary
Methods inherited from class jenkins.plugins.jobcacher.arbitrary.AbstractCompressingArbitraryFileCacheStrategy
cache, createCacheName, restore
-
Constructor Details
-
TarArbitraryFileCacheStrategy
public TarArbitraryFileCacheStrategy(TarArbitraryFileCacheStrategy.CompressingOutputStreamFactory compressingOutputStreamFactory, TarArbitraryFileCacheStrategy.CompressingInputStreamFactory compressingInputStreamFactory, String archiveExtension)
-
-
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
-