Class HttpsRepositoryUriResolver
- java.lang.Object
-
- org.jenkinsci.plugins.github_branch_source.RepositoryUriResolver
-
- org.jenkinsci.plugins.github_branch_source.HttpsRepositoryUriResolver
-
public class HttpsRepositoryUriResolver extends RepositoryUriResolver
ARepositoryUriResolver
that resolves HTTP git URLs.
-
-
Constructor Summary
Constructors Constructor Description HttpsRepositoryUriResolver()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getRepositoryUri(String apiUri, String owner, String repository)
Resolves the URI of a repository.-
Methods inherited from class org.jenkinsci.plugins.github_branch_source.RepositoryUriResolver
hostnameFromApiUri
-
-
-
-
Method Detail
-
getRepositoryUri
public String getRepositoryUri(String apiUri, String owner, String repository)
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.
-
-