Class DownloadScheme
java.lang.Object
com.google.gerrit.extensions.config.DownloadScheme
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract String
Returns the URL of this download scheme.abstract boolean
Returns whether this scheme requires authenticationabstract boolean
Returns whether this scheme supports authenticationabstract boolean
Returns whether the download scheme is enabledabstract boolean
isHidden()
Returns whether the download scheme is hidden in the UI
-
Constructor Details
-
DownloadScheme
public DownloadScheme()
-
-
Method Details
-
getUrl
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
-