public class ArchiveCommandParameters extends AbstractCommandParameters
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.
Modifier and Type | Class and Description |
---|---|
static class |
ArchiveCommandParameters.Builder |
NOT_BLANK
Modifier and Type | Method and Description |
---|---|
String |
getCommitId() |
ArchiveFormat |
getFormat() |
Set<String> |
getPaths() |
Optional<String> |
getPrefix() |
addIf, addIf, addIf, addIf, addIf, addIf, checkNotBlank, requireNonBlank
@Nonnull public String getCommitId()
@Nonnull public ArchiveFormat getFormat()
@Nonnull public Set<String> getPaths()
Copyright © 2019 Atlassian. All rights reserved.