Class DownloadConfig

java.lang.Object
com.google.gerrit.server.config.DownloadConfig

public class DownloadConfig extends Object
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.

  • Constructor Details

    • DownloadConfig

      @Inject public DownloadConfig(org.eclipse.jgit.lib.Config cfg)
  • Method Details

    • getDownloadSchemes

      public com.google.common.collect.ImmutableSet<String> getDownloadSchemes()
      Scheme used to download.
    • getHiddenSchemes

      public com.google.common.collect.ImmutableSet<String> getHiddenSchemes()
      Scheme hidden in the UI.
    • getDownloadCommands

      public com.google.common.collect.ImmutableSet<DownloadConfig.DownloadCommand> getDownloadCommands()
      Command used to download.
    • getArchiveFormats

      public com.google.common.collect.ImmutableSet<ArchiveFormatInternal> getArchiveFormats()
      Archive formats for downloading.