| Modifier and Type | Field and Description |
|---|---|
static int |
DEFAULT_COMPRESSION_LEVEL |
| Constructor and Description |
|---|
ZstdStep(ProjectFilesystem filesystem,
Path sourceFile,
Path outputPath)
Creates an ZstdStep to compress a file to given output path.
|
| Modifier and Type | Method and Description |
|---|---|
StepExecutionResult |
execute(ExecutionContext context) |
String |
getDescription(ExecutionContext context) |
Path |
getOutputPath() |
String |
getShortName() |
public static final int DEFAULT_COMPRESSION_LEVEL
public ZstdStep(ProjectFilesystem filesystem, Path sourceFile, Path outputPath)
sourceFile - file to compressoutputPath - the desired output path.public StepExecutionResult execute(ExecutionContext context) throws IOException
execute in interface StepIOExceptionpublic Path getOutputPath()
public String getDescription(ExecutionContext context)
getDescription in interface Steppublic String getShortName()
getShortName in interface Step