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
Nested ClassesModifier and TypeClassDescriptionstatic interfacestatic interface -
Constructor Summary
ConstructorsConstructorDescriptionTarArbitraryFileCacheStrategy(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:
getArchiveExtensionin classAbstractCompressingArbitraryFileCacheStrategy
-
uncompress
protected void uncompress(FilePath source, FilePath target) throws IOException, InterruptedException - Specified by:
uncompressin classAbstractCompressingArbitraryFileCacheStrategy- Throws:
IOExceptionInterruptedException
-
compress
protected void compress(FilePath source, String includes, String excludes, boolean useDefaultExcludes, FilePath target) throws IOException, InterruptedException - Specified by:
compressin classAbstractCompressingArbitraryFileCacheStrategy- Throws:
IOExceptionInterruptedException
-