public class UnzipStep extends UnarchiveStep
archiveFile, destinationDirectory, entriesToExclude, filesystem| Constructor and Description |
|---|
UnzipStep(ProjectFilesystem filesystem,
Path zipFile,
Path destinationDirectory,
Optional<Path> stripPrefix)
Create an instance of UnzipStep
|
UnzipStep(ProjectFilesystem filesystem,
Path zipFile,
Path destinationDirectory,
Optional<Path> stripPrefix,
PatternsMatcher entriesToExclude)
Create an instance of UnzipStep
|
| Modifier and Type | Method and Description |
|---|---|
String |
getDescription(ExecutionContext context) |
String |
getShortName() |
executepublic UnzipStep(ProjectFilesystem filesystem, Path zipFile, Path destinationDirectory, Optional<Path> stripPrefix)
filesystem - The filesystem that the archive will be extracted intozipFile - The path to the file to extractdestinationDirectory - The directory to extract files intostripPrefix - If present, strip this prefix from paths inside of the archivepublic UnzipStep(ProjectFilesystem filesystem, Path zipFile, Path destinationDirectory, Optional<Path> stripPrefix, PatternsMatcher entriesToExclude)
filesystem - The filesystem that the archive will be extracted intozipFile - The path to the file to extractdestinationDirectory - The directory to extract files intostripPrefix - If present, strip this prefix from paths inside of the archiveentriesToExclude - entries that match this matcher will not be extractedpublic String getShortName()
public String getDescription(ExecutionContext context)