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
Constructors Constructor Description CompressorWorkAction()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected 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
-
-
-
-
Method Detail
-
execute
public void execute()
- Specified by:
execute
in interfaceWorkAction<OS extends CompressorOutputStream>
-
createOutputStream
protected abstract OS createOutputStream(BufferedOutputStream outputStream) throws IOException
- Throws:
IOException
-
-