Interface CompressorWorkParameters

All Superinterfaces:
WorkParameters
All Known Subinterfaces:
BrotliWorkParameters, Deflate.DeflateWorkParameters, GZip.GZipWorkParameters

public interface CompressorWorkParameters extends WorkParameters
  • Method Details

    • getSourceFile

      RegularFileProperty getSourceFile()
    • getTargetFile

      RegularFileProperty getTargetFile()
    • getOnlyIfMinCompressionRatio

      Property<Double> 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.