| java.lang.Object | ||
| ↳ | java.lang.Enum<E extends java.lang.Enum<E>> | |
| ↳ | com.atlassian.bitbucket.content.ArchiveFormat | |
Describes the different formats archives may be streamed in.
 
 Individual SCMs may support additional formats, but any SCM which advertizes the archive
 feature is required to support all of these formats. Using any other format requires referencing the SCM
 directly.
| Enum Values | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| ArchiveFormat | TAR | Streams the archive as an uncompressed tarball. | |||||||||
| ArchiveFormat | TAR_GZ | Streams the archive as a GZip-compressed tarball. | |||||||||
| ArchiveFormat | ZIP | Streams the archive as a zip file, using the default compression level for the SCM. | |||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Searches for the format which produces the provided  extension, case-insensitively. | |||||||||||
| [Expand] Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
|  From class
  java.lang.Enum | |||||||||||
|  From class
  java.lang.Object | |||||||||||
|  From interface
  java.lang.Comparable | |||||||||||
Streams the archive as a zip file, using the default compression level for the SCM.
Searches for the format which produces the provided extension, case-insensitively.
| extension | the extension to search for | 
|---|
extension| IllegalArgumentException | if no format produces the requested extension | 
|---|