Class DownloadScheme


  • public abstract class DownloadScheme
    extends Object
    • Constructor Detail

      • DownloadScheme

        public DownloadScheme()
    • Method Detail

      • 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