Class HttpsRepositoryUriResolver
java.lang.Object
org.jenkinsci.plugins.github_branch_source.RepositoryUriResolver
org.jenkinsci.plugins.github_branch_source.HttpsRepositoryUriResolver
A
RepositoryUriResolver
that resolves HTTP git URLs.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetRepositoryUri
(String apiUri, String owner, String repository) Resolves the URI of a repository.Methods inherited from class org.jenkinsci.plugins.github_branch_source.RepositoryUriResolver
hostnameFromApiUri
-
Constructor Details
-
HttpsRepositoryUriResolver
public HttpsRepositoryUriResolver()
-
-
Method Details
-
getRepositoryUri
Resolves the URI of a repository.- Specified by:
getRepositoryUri
in classRepositoryUriResolver
- Parameters:
apiUri
- the API URL of the GitHub server.owner
- the owner of the repository.repository
- the name of the repository.- Returns:
- the GIT URL of the repository.
-