Class CompressorWorkAction<OS extends CompressorOutputStream,P extends CompressorWorkParameters>
java.lang.Object
io.freefair.gradle.plugins.compress.tasks.CompressorWorkAction<OS,P>
- All Implemented Interfaces:
WorkAction<P>
- Direct Known Subclasses:
BZip2.BZip2WorkAction
,Deflate.DeflateWorkAction
,GZip.GZipWorkAction
,LZMA.LZMAWorkAction
public abstract class CompressorWorkAction<OS extends CompressorOutputStream,P extends CompressorWorkParameters>
extends Object
implements WorkAction<P>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected abstract OS
createOutputStream
(BufferedOutputStream outputStream) void
execute()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.gradle.workers.WorkAction
getParameters
-
Constructor Details
-
CompressorWorkAction
public CompressorWorkAction()
-
-
Method Details
-
execute
public void execute()- Specified by:
execute
in interfaceWorkAction<OS extends CompressorOutputStream>
-
createOutputStream
- Throws:
IOException
-