Class DownloadScheme
- java.lang.Object
-
- com.google.gerrit.extensions.config.DownloadScheme
-
public abstract class DownloadScheme extends Object
-
-
Constructor Summary
Constructors Constructor Description DownloadScheme()
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description abstract String
getUrl(String project)
Returns the URL of this download scheme.abstract boolean
isAuthRequired()
Returns whether this scheme requires authenticationabstract boolean
isAuthSupported()
Returns whether this scheme supports authenticationabstract boolean
isEnabled()
Returns whether the download scheme is enabledabstract boolean
isHidden()
Returns whether the download scheme is hidden in the UI
-
-
-
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
-
isHidden
public abstract boolean isHidden()
Returns whether the download scheme is hidden in the UI
-
-