public boolean execute(Map<ConanParameter, String> parameters) throws ProcessExecutionException, IllegalArgumentException, InterruptedException {
getLog().info("Executing " + getName() + " with the following parameters: " + parameters.toString());
String command = "gzip -" + parameters.get(compressionParameter) + " " + parameters.get(fileParameter);
try {
getLog().info("Issuing command: [" + command + "]");
ProcessRunner runner = new ProcessRunner();
runner.redirectStderr(true);
String[] output = runner.runCommmand(command);
if (output.length > 0) {
getLog().info("Response from command [" + command + "]: " +
output.length + " lines, first line was " + output[0]);
}
}