Package com.atlassian.bitbucket.scm
Class ArchiveCommandParameters
java.lang.Object
com.atlassian.bitbucket.util.BuilderSupport
com.atlassian.bitbucket.scm.AbstractCommandParameters
com.atlassian.bitbucket.scm.ArchiveCommandParameters
Describes a commit to 
archive.
 
 In addition to specifying the commit to archive, callers can select from a standard set of
 archive formats. Any SCM which supports archiving repositories is required to
 support all of the standard formats.
 
 For finer control over the content of the archive, callers can also specify paths to filter
 by, and a prefix to prepend to the archive's contents. SCMs should support both of
 those settings if possible, but are not required to do so.
- Since:
- 5.1
- 
Nested Class SummaryNested Classes
- 
Field SummaryFields inherited from class com.atlassian.bitbucket.util.BuilderSupportNOT_BLANK
- 
Method SummaryMethods inherited from class com.atlassian.bitbucket.util.BuilderSupportaddIf, addIf, addIf, addIf, addIf, addIf, checkNotBlank, requireNonBlank
- 
Method Details- 
getCommitId- Returns:
- the commit to archive, which may be a ref name or commit hash
 
- 
getFormat- Returns:
- the format to stream the archive in
 
- 
getPaths- Returns:
- a set of paths to filter the archive by, which may be empty to include all paths
 
- 
getPrefix- Returns:
- a prefix to apply to all entries in the archive, which may be empty()but notnull
 
 
-