Class DownloadScheme

java.lang.Object
com.google.gerrit.extensions.config.DownloadScheme

public abstract class DownloadScheme extends Object
  • Constructor Details

    • DownloadScheme

      public DownloadScheme()
  • Method Details

    • getUrl

      public abstract String getUrl(String project)
      Returns the URL of this download scheme.
      Parameters:
      project - the name of the project for which the URL should be returned
      Returns:
      URL of the download scheme
    • isAuthRequired

      public abstract boolean isAuthRequired()
      Returns whether this scheme requires authentication
    • isAuthSupported

      public abstract boolean isAuthSupported()
      Returns whether this scheme supports authentication
    • isEnabled

      public abstract boolean isEnabled()
      Returns whether the download scheme is enabled
    • isHidden

      public abstract boolean isHidden()
      Returns whether the download scheme is hidden in the UI
    • getDescription

      public String getDescription()
      Returns an optional description of the scheme