Package com.google.gerrit.server.config
Class DownloadConfig
java.lang.Object
com.google.gerrit.server.config.DownloadConfig
Download protocol from
gerrit.config
.
Only used to configure the built-in set of schemes and commands in the core download-commands plugin; not used by other plugins.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enum
Preferred method to download a change. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncom.google.common.collect.ImmutableSet
<ArchiveFormatInternal> Archive formats for downloading.com.google.common.collect.ImmutableSet
<DownloadConfig.DownloadCommand> Command used to download.com.google.common.collect.ImmutableSet
<String> Scheme used to download.com.google.common.collect.ImmutableSet
<String> Scheme hidden in the UI.
-
Constructor Details
-
DownloadConfig
@Inject public DownloadConfig(org.eclipse.jgit.lib.Config cfg)
-
-
Method Details
-
getDownloadSchemes
Scheme used to download. -
getHiddenSchemes
Scheme hidden in the UI. -
getDownloadCommands
Command used to download. -
getArchiveFormats
Archive formats for downloading.
-