Class SshRepositoryUriResolver
java.lang.Object
org.jenkinsci.plugins.github_branch_source.RepositoryUriResolver
org.jenkinsci.plugins.github_branch_source.SshRepositoryUriResolver
A
RepositoryUriResolver
that resolves SSH 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
-
SshRepositoryUriResolver
public SshRepositoryUriResolver()
-
-
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.
-