Interface CompressorWorkParameters
- All Superinterfaces:
WorkParameters
- All Known Subinterfaces:
BrotliWorkParameters,Deflate.DeflateWorkParameters,GZip.GZipWorkParameters
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.gradle.workers.WorkParameters
WorkParameters.None -
Method Summary
Modifier and TypeMethodDescriptionMinimal Compression Ratio for the file to be created.
-
Method Details
-
getSourceFile
RegularFileProperty getSourceFile() -
getTargetFile
RegularFileProperty getTargetFile() -
getOnlyIfMinCompressionRatio
Minimal Compression Ratio for the file to be created.1 Means the compressed file must be at least as small as the original file. 2 Means the compressed file must be at least half the size of the original file.
-