public final class CompressionTools extends Object
| Modifier and Type | Method and Description |
|---|---|
static List<File> |
addFilesToCompress(java.nio.file.Path pathToCompress,
hudson.model.BuildListener listener) |
static File |
compressFile(String projectName,
java.nio.file.Path pathToCompress,
CodePipelineStateModel.CompressionType compressionType,
hudson.model.BuildListener listener) |
static void |
compressTarFile(File temporaryTarFile,
java.nio.file.Path pathToCompress,
hudson.model.BuildListener listener) |
static void |
compressTarGzFile(File temporaryTarGzFile,
java.nio.file.Path pathToCompress,
hudson.model.BuildListener listener) |
static void |
compressZipFile(File temporaryZipFile,
java.nio.file.Path pathToCompress,
hudson.model.BuildListener listener) |
static java.nio.file.Path |
resolveWorkspacePath(File workspace,
String outputPath) |
public static File compressFile(String projectName, java.nio.file.Path pathToCompress, CodePipelineStateModel.CompressionType compressionType, hudson.model.BuildListener listener) throws IOException
IOExceptionpublic static void compressZipFile(File temporaryZipFile, java.nio.file.Path pathToCompress, hudson.model.BuildListener listener) throws IOException
IOExceptionpublic static void compressTarFile(File temporaryTarFile, java.nio.file.Path pathToCompress, hudson.model.BuildListener listener) throws IOException
IOExceptionpublic static void compressTarGzFile(File temporaryTarGzFile, java.nio.file.Path pathToCompress, hudson.model.BuildListener listener) throws IOException
IOExceptionpublic static List<File> addFilesToCompress(java.nio.file.Path pathToCompress, hudson.model.BuildListener listener) throws IOException
IOExceptionpublic static java.nio.file.Path resolveWorkspacePath(File workspace, String outputPath) throws FileNotFoundException
FileNotFoundExceptionCopyright © 2004-2021. All Rights Reserved.