@Internal public class ArchiverResolver extends Object
archiver types
into actual instances of archivers
.Constructor and Description |
---|
ArchiverResolver() |
Modifier and Type | Method and Description |
---|---|
static Archiver |
getArchiver(ArchiverType archiverType)
Returns an instance of an archiver of the specified type.
|
static String |
getDefaultArchiveExtension(ArchiverType archiverType)
Returns default archive file extension for the specified archiver type.
|
@NotNull public static Archiver getArchiver(@NotNull ArchiverType archiverType)
archiverType
- type of the archiverIllegalArgumentException
- if an archiver of the specified type could not be constructed@NotNull public static String getDefaultArchiveExtension(@NotNull ArchiverType archiverType)
archiverType
- type of the archiverCopyright © 2020 Atlassian Software Systems Pty Ltd. All rights reserved.